コード例 #1
0
 /**
  * 页面:进行密码重置
  * @return Response
  */
 public function getReset($token)
 {
     // 数据库中无令牌,抛出404
     is_null(PassowrdReminder::where('token', $token)->first()) and App::abort(404);
     return View::make('authority.password.reset')->with('token', $token);
 }
コード例 #2
0
 /**
  * View: Reset password
  * @return Response
  */
 public function getReset($token)
 {
     // No tokens in the database, throw 404
     is_null(PassowrdReminder::where('token', $token)->first()) and App::abort(404);
     return View::make('authority.password.reset')->with('token', $token);
 }