mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
auth: typo and doc
This commit is contained in:
parent
ecc15a7680
commit
fcd4ed3883
@ -78,8 +78,9 @@ abstract class Base
|
||||
}
|
||||
|
||||
/**
|
||||
* check if the user should change his or hers password, needs implementation if it applies.
|
||||
* check if the user should change his or her password, needs implementation if it applies.
|
||||
* @param string $username username to check
|
||||
* @param string $password password to check
|
||||
* @return boolean
|
||||
*/
|
||||
public function shouldChangePassword($username, $password = null)
|
||||
|
||||
@ -106,11 +106,13 @@ class Local extends Base implements IAuthConnector
|
||||
}
|
||||
|
||||
/**
|
||||
* check if the user should change his or hers password,
|
||||
* check if the user should change his or her password,
|
||||
* calculated by the time difference of the last pwd change
|
||||
* and other criteria through checkPolicy() if password was
|
||||
* given
|
||||
* @param string $username username to check
|
||||
* @param string $password password to check
|
||||
* @return boolean
|
||||
*/
|
||||
public function shouldChangePassword($username, $password = null)
|
||||
{
|
||||
|
||||
@ -174,8 +174,10 @@ trait TOTP
|
||||
}
|
||||
|
||||
/**
|
||||
* check if the user should change his or hers password
|
||||
* check if the user should change his or her password
|
||||
* @param string $username username to check
|
||||
* @param string $password password to check
|
||||
* @return boolean
|
||||
*/
|
||||
public function shouldChangePassword($username, $password = null)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user