Fix: login possibility with no password
This commit is contained in:
parent
4cc27fd401
commit
98c04fd275
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@
|
|||
|
||||
$tab = $sql->fetchFirst ($res);
|
||||
|
||||
if ( ($tab['pass_crypted'] == md5 ($this->passwd)) || ($tab['pass'] == $this->passwd)) {
|
||||
if ( ($tab['pass_crypted'] == md5 ($this->passwd)) || (($tab['pass'] == $this->passwd) && ($tab['pass'] != ''))) {
|
||||
|
||||
// On vérifie que le compte soit bien actif
|
||||
if ( $tab['statut'] ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue