First user doesn't see (unconfirmed) anymore

This commit is contained in:
Marcin Kurczewski 2013-10-20 11:19:59 +02:00
parent 07f36c710a
commit a3be044ced

View file

@ -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