forked from leftypol/leftypol
hash poster passwords
This commit is contained in:
parent
c7bb61f2ff
commit
8b2f002582
6 changed files with 33 additions and 5 deletions
|
|
@ -3082,3 +3082,8 @@ function strategy_first($fun, $array) {
|
|||
return array('defer');
|
||||
}
|
||||
}
|
||||
|
||||
function hashPassword($password) {
|
||||
global $config;
|
||||
return hash('sha3-256', $password . $config['secure_password_salt']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue