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