Account/Passwords
* use buildin php functions to handle passwords * increase cost of BCRYPT * make use of the SensitiveParameter attribute
This commit is contained in:
parent
dd838fa994
commit
fb7b22db36
2 changed files with 10 additions and 19 deletions
|
|
@ -4,7 +4,7 @@ if (!defined('AOWOW_REVISION'))
|
|||
die('illegal access');
|
||||
|
||||
|
||||
function extAuth(string &$usernameOrEmail, string $password, int &$userId = 0, int &$userGroup = -1) : int
|
||||
function extAuth(string &$usernameOrEmail, #[\SensitiveParameter] string $password, int &$userId = 0, int &$userGroup = -1) : int
|
||||
{
|
||||
/*
|
||||
insert some auth mechanism here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue