First user doesn't see (unconfirmed) anymore
This commit is contained in:
parent
07f36c710a
commit
a3be044ced
1 changed files with 1 additions and 0 deletions
|
@ -478,6 +478,7 @@ class UserController
|
||||||
{
|
{
|
||||||
$dbUser->access_rank = AccessRank::Admin;
|
$dbUser->access_rank = AccessRank::Admin;
|
||||||
$dbUser->staff_confirmed = true;
|
$dbUser->staff_confirmed = true;
|
||||||
|
$dbUser->email_unconfirmed = null;
|
||||||
$dbUser->email_confirmed = $suppliedEmail;
|
$dbUser->email_confirmed = $suppliedEmail;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue