diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-14 23:23:12 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-14 23:23:12 +0000 |
commit | 0ac27764e1d5e3499a3ca2ded0018d33c42ae50b (patch) | |
tree | c3ce17c9ce82065d1008c29bb127b447adadbe05 /login.php | |
parent | f3e58ba9bd907cc2c17085579d8663c17bead464 (diff) | |
download | ampache-0ac27764e1d5e3499a3ca2ded0018d33c42ae50b.tar.gz ampache-0ac27764e1d5e3499a3ca2ded0018d33c42ae50b.tar.bz2 ampache-0ac27764e1d5e3499a3ca2ded0018d33c42ae50b.zip |
fixed some bugs introduced by the ldap patch
Diffstat (limited to 'login.php')
-rw-r--r-- | login.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ if ($_POST['username'] && $_POST['password']) { $auth['error'] = _('User Disabled please contact Admin'); } // if user disabled - elseif (!$user->username) { + elseif (!$user->username AND $auth['success']) { /* This is run if we want to auto_create users who don't exist (usefull for non mysql auth) */ if (conf('auto_create')) { if (!$access = conf('auto_user')) { $access = '5'; } |