mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-02 11:20:52 +02:00
Update plugins/box/users/users.plugin.php
This commit is contained in:
@@ -393,11 +393,11 @@
|
|||||||
Session::set('user_role', (string)$user['role']);
|
Session::set('user_role', (string)$user['role']);
|
||||||
Request::redirect(Site::url().'users/'.Session::get('user_id'));
|
Request::redirect(Site::url().'users/'.Session::get('user_id'));
|
||||||
} else {
|
} else {
|
||||||
Notification::setNow('error', __('Wrong <b>login</b> or <b>password</b>', 'users'));
|
Notification::setNow('error', __('Wrong <b>username</b> or <b>password</b>', 'users'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Notification::setNow('error', __('Wrong <b>login</b> or <b>password</b>', 'users'));
|
Notification::setNow('error', __('Wrong <b>username</b> or <b>password</b>', 'users'));
|
||||||
}
|
}
|
||||||
|
|
||||||
} else { die('csrf detected!'); }
|
} else { die('csrf detected!'); }
|
||||||
|
Reference in New Issue
Block a user