Member Login Check function
This commit is contained in:
parent
c15ab5c59c
commit
c84adc30b3
@ -34,4 +34,9 @@ class Member extends Model
|
||||
'exam_member_ranks' => 'GermanAirlinesVa\Schooling\Models\ExamMemberRank',
|
||||
'exam_typeratings' => 'GermanAirlinesVa\Schooling\Models\ExamTyperating',
|
||||
];
|
||||
|
||||
public function logIn($password)
|
||||
{
|
||||
return password_verify($password, $this->password);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user