This repository was archived by the owner on Apr 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 9292/**
9393 * Log out the user and start the two factor authentication state.
9494 *
95- * @param Request $request
96- * @param User $user
95+ * @param \Illuminate\Http\ Request $request
96+ * @param \App\ User $user
9797 * @return \Illuminate\Http\Response
9898 */
9999private function startTwoFactorAuthProcess(Request $request, $user)
@@ -115,7 +115,7 @@ and lastly
115115 * Provider specific two-factor authentication logic. In the case of MessageBird
116116 * we just want to send an authentication token via SMS.
117117 *
118- * @param User $user
118+ * @param \App\ User $user
119119 * @return mixed
120120 */
121121private function registerUserAndSendToken(User $user)
@@ -172,12 +172,11 @@ class TwoFactorAuthController extends Controller
172172
173173 {{-- Add this block to show an error message in case of an expired token or user lockout --}}
174174 @if ($errors->has('token'))
175- <div class =" form-group has-error" >
176- <div class =" col-xs-12" >
177- <span class =" help-block" >
178- <strong >{{ $errors->first('token') }}</strong >
179- </span >
180- </div >
175+ <div class =" alert alert-danger alert-dismissible fade show" role =" alert" >
176+ <strong >{{ $errors->first('token') }}</strong >
177+ <button type =" button" class =" close" data-dismiss =" alert" aria-label =" Close" >
178+ <span aria-hidden =" true" >× ; </span >
179+ </button >
181180 </div >
182181 @endif
183182...
You can’t perform that action at this time.
0 commit comments