mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-05 12:39:07 -04:00
Properly call user::login when we automatically login the admin user
immediately after install. Fixes ticket #323.
This commit is contained in:
@@ -123,6 +123,7 @@ class user_Core {
|
||||
// upconvert into a user.
|
||||
if ($user === 2) {
|
||||
$user = model_cache::get("user", 2);
|
||||
user::login($user);
|
||||
$session->set("user", $user);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user