Commit 7d194254 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fixes for NONLOCAL users.

parent 5ca4bd4d
......@@ -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();
......
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment