Skip to content

Commit 5c84a6a

Browse files
authored
Cancel2 (#225)
* add period * getNonExistentUser should be in htpasswd * move account policy checkbox down
1 parent 79a075a commit 5c84a6a

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

test/phpunit-bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function getUserIsPIHasAtLeastOneMember()
159159

160160
function getNonExistentUser()
161161
{
162-
return ["user1@nonexistent.test", "foo", "bar", "user1@nonexistent.test"];
162+
return ["user2000@org2.test", "foo", "bar", "user2000@org2.test"];
163163
}
164164

165165
function getAdminUser()

webroot/panel/new_account.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@
9494
<hr>
9595

9696
<label><input type='radio' name='new_user_sel' value='pi'>Request a PI account</label>
97-
<div style='position: relative;display: none;' id='piConfirmWrapper'>
98-
<label><input type='checkbox' id='chk_pi' name='confirm_pi' value='agree'>
99-
I have read the PI <a href="<?php echo $CONFIG["site"]["account_policy_url"]; ?>">
100-
account policy</a> guidelines. </label>
101-
</div>
102-
<br>
10397
<label><input type='radio' name='new_user_sel' value='not_pi' checked>Join an existing PI group</label>
10498

10599
<div style='position: relative;' id='piSearchWrapper'>
@@ -109,9 +103,16 @@
109103

110104
<hr>
111105

106+
<div style='position: relative;display: none;' id='piConfirmWrapper'>
107+
<label><input type='checkbox' id='chk_pi' name='confirm_pi' value='agree'>
108+
I have read the PI <a href="<?php echo $CONFIG["site"]["account_policy_url"]; ?>">
109+
account policy</a> guidelines. </label>
110+
</div>
111+
<br>
112+
112113
<label><input type='checkbox' id='chk_eula' name='eula' value='agree' required>
113114
I have read and accept the <a target='_blank' href='<?php echo $CONFIG["site"]["terms_of_service_url"]; ?>'>
114-
Unity Terms of Service</a></label>
115+
Unity Terms of Service</a>.</label>
115116

116117
<br>
117118
<input style='margin-top: 10px;' type='submit' value='Request Account'>

0 commit comments

Comments
 (0)