mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Return early if hashed password is not provided
This commit is contained in:
parent
13ad81da5d
commit
c1ee5abaa1
1 changed files with 1 additions and 1 deletions
|
|
@ -1298,7 +1298,7 @@ class MemberModel extends Member
|
||||||
public static function isValidPassword($hashed_password, $password_text, $member_srl=null)
|
public static function isValidPassword($hashed_password, $password_text, $member_srl=null)
|
||||||
{
|
{
|
||||||
// False if no password in entered
|
// False if no password in entered
|
||||||
if(!$password_text)
|
if(!$hashed_password || !$password_text)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue