Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.5.4/includes/authenticator.php
Parent Directory
|
Revision Log
|
Patch
| 145 |
if ($admins == 0) echo "<script>alert(\""._LOGIN_NOADMINS."\"); window.history.go(-1); </script>\n"; |
if ($admins == 0) echo "<script>alert(\""._LOGIN_NOADMINS."\"); window.history.go(-1); </script>\n"; |
| 146 |
/** find the user group (or groups in the future) */ |
/** find the user group (or groups in the future) */ |
| 147 |
elseif (isset($my)) { |
elseif (isset($my)) { |
| 148 |
$authoriser = new mosAuthoriser($database); |
// $authoriser = new mosAuthoriser($database); |
| 149 |
if (strcmp( $my->password, $pass ) |
if (strcmp( $my->password, $pass ) |
| 150 |
OR !$acl->acl_check( 'administration', 'login', 'users', $my->usertype )) { |
OR !$acl->acl_check( 'administration', 'login', 'users', $my->usertype )) { |
| 151 |
echo "<script>alert('Incorrect Username, Password, or Access Level. Please try again'); document.location.href='index.php';</script>\n"; |
echo "<script>alert('Incorrect Username, Password, or Access Level. Please try again'); document.location.href='index.php';</script>\n"; |
|
|
Legend:
| Removed from v.6 |
|
| changed lines |
| |
Added in v.81 |
|
|

Web Hosting provided by Network
Redux.