MXS-581: Moved to MD5 based encryption of passwords
The admin users are now encrypted with a more complex algorithm which reduces the chance of two passwords generating the same hash by a significant amount. Refer to the GNU libc manual for more details about the crypt function: http://www.gnu.org/software/libc/manual/html_node/crypt.html
This commit is contained in:
parent
2e408a17d5
commit
477197ff5b
@ -31,7 +31,7 @@
|
||||
*/
|
||||
#include <dcb.h>
|
||||
|
||||
#define ADMIN_SALT "MS"
|
||||
#define ADMIN_SALT "$1$MXS"
|
||||
|
||||
extern int admin_verify(char *, char *);
|
||||
extern char *admin_add_user(char *, char *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user