Revision 05311eb0
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
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}, 0) != $auth->OK()) {
|
|
82 | 82 |
$form->{error_message} = $locale->text('Incorrect Password!'); |
83 | 83 |
adminlogin(); |
84 | 84 |
exit; |
... | ... | |
88 | 88 |
|
89 | 89 |
call_sub($locale->findsub($form->{action})); |
90 | 90 |
|
91 |
} elsif ($auth->authenticate_root($form->{rpw}, 0) == Auth->OK()) {
|
|
91 |
} elsif ($auth->authenticate_root($form->{rpw}, 0) == $auth->OK()) {
|
|
92 | 92 |
|
93 | 93 |
$auth->create_or_refresh_session() if ($auth->session_tables_present()); |
94 | 94 |
|
Auch abrufbar als: Unified diff
admin: auth konstanten als object Methoden aufrufen.