You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The string returned by the function hash_my41, inc/PassHash.class.php:315 is a lower case string, but the returned string from the function PASSWORD of the mysql engine is upper case.
We are using the hash my411 for storing the password.
When we try to authenticate with a user who the password was changed by a sql query using the mysql password function, the authentication failed because the condition in inc/PassHash.class.php:94 return false.
DokuWiki version: 2016-06-26a "Elenor of Tsort"
Operating system of the server: Ubuntu 14.04.5 LTS
Operating system of client: all
The used web server: Apache/2.4.7
The used PHP version: PHP 5.5.9
The used browsers (try multiple): all
Plugins, auth backends: authmysql.
Exact steps to reproduce the problem:
change the default auth hash to my411.
create a user with the admin web page and try to login.
change the password of the same user with a sql query with the mysql function PASSWORD like: pass=PASSWORD('foo').
try to login with the password foo, the authentication failed.
The text was updated successfully, but these errors were encountered:
Hi,
The string returned by the function hash_my41, inc/PassHash.class.php:315 is a lower case string, but the returned string from the function PASSWORD of the mysql engine is upper case.
We are using the hash my411 for storing the password.
When we try to authenticate with a user who the password was changed by a sql query using the mysql password function, the authentication failed because the condition in inc/PassHash.class.php:94 return false.
DokuWiki version: 2016-06-26a "Elenor of Tsort"
Operating system of the server: Ubuntu 14.04.5 LTS
Operating system of client: all
The used web server: Apache/2.4.7
The used PHP version: PHP 5.5.9
The used browsers (try multiple): all
Plugins, auth backends: authmysql.
Exact steps to reproduce the problem:
The text was updated successfully, but these errors were encountered: