Esempio n. 1
0
 /**
  * Verify the user's email address.
  *
  * @param $token
  * @return \Illuminate\Http\RedirectResponse
  */
 public function verify($token)
 {
     $success = $this->repository->verify($token);
     $notice = $success ? Lang::get('auth.verification_success') : Lang::get('auth.verification_failed');
     return redirect()->route('auth.login')->with(['notice' => $notice]);
 }