Skip to content

Commit

Permalink
use class constant
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Jan 23, 2017
1 parent 346941f commit 3dedf34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/user.class.php
Expand Up @@ -759,7 +759,7 @@ function prepareInputForUpdate($input) {

// blank password when authtype changes
if (isset($input["authtype"])
&& $input["authtype"] != 1
&& $input["authtype"] != Auth::DB_GLPI
&& $input["authtype"] != $this->getField('authtype')) {
$input["password"] = "";
}
Expand Down

0 comments on commit 3dedf34

Please sign in to comment.