public function attempt($password)
{
if (!Hash::check($password, Auth::user()->getAuthPassword())) {
return false;
}
$this->request->session()->set($this->key . '.life', Carbon::now()->timestamp);
$this->request->session()->set($this->key . '.authenticated', true);
return true;
}