Revision 540c0b5e
Von Moritz Bunkus vor mehr als 12 Jahren hinzugefügt
SL/Dispatcher/AuthHandler/Admin.pm | ||
---|---|---|
10 | 10 |
return if $::form->{'{AUTH}admin_password'} && ($::auth->authenticate_root($::form->{'{AUTH}admin_password'}) == $::auth->OK()); |
11 | 11 |
return if !$::form->{'{AUTH}admin_password'} && ($::auth->authenticate_root($::auth->get_session_value('admin_password')) == $::auth->OK()); |
12 | 12 |
|
13 |
$::auth->punish_wrong_login; |
|
13 | 14 |
$::auth->delete_session_value('admin_password'); |
14 |
SL::Dispatcher::show_error('login/password_error', 'password', is_admin => 1);
|
|
15 |
SL::Dispatcher::show_error('admin/adminlogin', 'password');
|
|
15 | 16 |
} |
16 | 17 |
|
17 | 18 |
1; |
Auch abrufbar als: Unified diff
User-Login auf Controller umgestellt