Revision 8d8fc8dd
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Dispatcher.pm | ||
---|---|---|
198 | 198 |
|
199 | 199 |
$::locale = Locale->new($::myconfig{countrycode}); |
200 | 200 |
|
201 |
show_error('login/password_error', 'password') if SL::Auth::OK != $::auth->authenticate($::form->{login}, $::form->{password}, 0);
|
|
201 |
show_error('login/password_error', 'password') if SL::Auth::OK != $::auth->authenticate($::form->{login}, $::form->{password}); |
|
202 | 202 |
|
203 | 203 |
$::auth->set_session_value('login', $::form->{login}, 'password', $::form->{password}); |
204 | 204 |
$::auth->create_or_refresh_session; |
bin/mozilla/admin.pl | ||
---|---|---|
78 | 78 |
$form->{favicon} = "favicon.ico"; |
79 | 79 |
|
80 | 80 |
if ($form->{action}) { |
81 |
if ($auth->authenticate_root($form->{rpw}, 0) != $auth->OK()) {
|
|
81 |
if ($auth->authenticate_root($form->{rpw}) != $auth->OK()) { |
|
82 | 82 |
$form->{error_message} = $locale->text('Incorrect Password!'); |
83 | 83 |
adminlogin(); |
84 | 84 |
} else { |
bin/mozilla/login.pl | ||
---|---|---|
65 | 65 |
%::myconfig = $auth->read_user($form->{login}) if ($form->{login}); |
66 | 66 |
$::locale = Locale->new($::myconfig{countrycode}) if $::myconfig{countrycode}; |
67 | 67 |
|
68 |
if (!$::myconfig{login} || (SL::Auth::OK != $auth->authenticate($form->{login}, $form->{password}, 0))) {
|
|
68 |
if (!$::myconfig{login} || (SL::Auth::OK != $auth->authenticate($form->{login}, $form->{password}))) { |
|
69 | 69 |
$form->{error_message} = $::locale->text('Incorrect username or password!'); |
70 | 70 |
login_screen(); |
71 | 71 |
} else { |
Auch abrufbar als: Unified diff
Legacy-Interface: Auth::authenticate unterstützt "is_crypted" nicht mehr