Beispiel #1
0
 public static function getByKey($sessionKey)
 {
     return LoginSession::where('session_key', $sessionKey)->first();
 }
Beispiel #2
0
 public function postValidate()
 {
     list($sessionKey) = ColdValidator::instance()->inputs(array('session_key'));
     return array('status' => LoginSession::where('session_key', $sessionKey)->count() > 0);
 }