Skip to content

Commit

Permalink
Adding more two factor functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed May 17, 2024
1 parent edb5870 commit 8ca7710
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file removed database/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions resources/views/pages/auth/password/reset.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public function sendResetPasswordLink()
<x-auth::elements.button type="primary" rounded="md" submit="true">Send password reset link</x-auth::elements.button>
</form>
@endif
<div class="mt-3 space-x-0.5 text-sm leading-5 text-center text-gray-400 translate-y-3 dark:text-gray-300">
<span>Or</span>
<div class="mt-3 space-x-0.5 text-sm leading-5 text-center" style="color:{{ config('devdojo.auth.appearance.color.text') }}">
<span class="opacity-[47%]">Or</span>
<x-auth::elements.text-link href="{{ route('auth.login') }}">return to login</x-auth::elements.text-link>
</div>
</x-auth::elements.container>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages/auth/two-factor-challenge.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function submitCode($code)
Auth::login($user);
// clear out the session that is used to determine if the user can visit the 2fa challenge page.
$this->session()->forget('login.id');
session()->forget('login.id');
event(new Login(auth()->guard('web'), $user, true));
return redirect()->intended('/');
Expand Down

0 comments on commit 8ca7710

Please sign in to comment.