Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
7d194254
Commit
7d194254
authored
Jul 06, 2016
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes for NONLOCAL users.
parent
5ca4bd4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
www/aptui/myaccount.php
www/aptui/myaccount.php
+1
-1
www/aptui/signup.php
www/aptui/signup.php
+1
-0
No files found.
www/aptui/myaccount.php
View file @
7d194254
...
...
@@ -33,7 +33,7 @@ RedirectSecure();
$this_user
=
CheckLogin
(
$check_status
);
if
(
isset
(
$this_user
))
{
# Allow unapproved users to edit their profile ...
CheckLoginOrDie
(
CHECKLOGIN_UNAPPROVED
);
CheckLoginOrDie
(
CHECKLOGIN_UNAPPROVED
|
CHECKLOGIN_NONLOCAL
);
}
else
{
CheckLoginOrRedirect
();
...
...
www/aptui/signup.php
View file @
7d194254
...
...
@@ -147,6 +147,7 @@ if (! isset($create)) {
if
(
$this_user
&&
$promoting
)
{
$defaults
[
"uid"
]
=
$this_user
->
uid
();
$defaults
[
"fullname"
]
=
$this_user
->
name
();
$defaults
[
"email"
]
=
$this_user
->
email
();
$defaults
[
"city"
]
=
$this_user
->
city
();
$defaults
[
"state"
]
=
$this_user
->
state
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment