Skip to content

Commit

Permalink
updated email section
Browse files Browse the repository at this point in the history
  • Loading branch information
shakilofficial0 committed Oct 30, 2023
1 parent c86e5d2 commit c500df5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/remove-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
# Every day at 1am
- cron: "0 * * * *"


jobs:
remove-old-artifacts:
runs-on: ubuntu-latest


steps:
- name: Remove artifacts
Expand Down
2 changes: 1 addition & 1 deletion app/Providers/NukeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function boot()

Fortify::resetPasswordView(function ($request) {
// check if token is valid
$token = DB::table('password_resets')->where('email', base64_decode($request->email))->first();
$token = DB::table('password_reset_tokens')->where('email', base64_decode($request->email))->first();

if (!$token) {
return redirect()->route('login')->with('error', 'translate.invalid_token');
Expand Down
2 changes: 1 addition & 1 deletion resources/views/auth/auth-reset-password.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<form class="auth-reset-password-form mt-2" action="{{ route('password.update') }}" method="POST">
@csrf
<input type="hidden" name="token" value="{{ request()->token }}">
<input type="hidden" name="email" value="{{ request()->email }}">
<input type="hidden" name="email" value="{{ base64_decode(request()->email) }}">
<div class="mb-3 form-password-toggle">
<label class="form-label" for="password">{{__('translate.new_password')}}</label>
<div class="input-group input-group-merge">
Expand Down

0 comments on commit c500df5

Please sign in to comment.