mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-28 06:06:51 +01:00
* fixed log in to admin panel
* fixed File is not .zip plugin upload error
This commit is contained in:
@@ -74,6 +74,8 @@ else
|
||||
$_SESSION['remember_me'] = true;
|
||||
|
||||
$logged = true;
|
||||
$logged_flags = $account_logged->getWebFlags();
|
||||
|
||||
if(isset($_POST['admin']) && !admin()) {
|
||||
$errors[] = 'This account has no admin privileges.';
|
||||
unset($_SESSION['account']);
|
||||
|
||||
Reference in New Issue
Block a user