Skip to content

Commit e8e43d9

Browse files
documentation
1 parent b177aee commit e8e43d9

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

app/Http/Livewire/ForgotPassword.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ public function recoverPassword() {
3434
$this->showDemoNotification = true;
3535
}
3636
else {
37-
$this->validate();
38-
$user=User::where('email', $this->email)->first();
39-
$this->notify(new ResetPassword($user->id));
40-
$this->mailSentAlert = true;
37+
$this->validate();
38+
$user=User::where('email', $this->email)->first();
39+
$this->notify(new ResetPassword($user->id));
40+
$this->mailSentAlert = true;
4141
}
4242
}
4343

app/Http/Livewire/Profile.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,10 @@ public function save()
3636

3737
$this->user->save();
3838

39-
$this->showSavedAlert = true;
40-
39+
$this->showSavedAlert = true;
4140
}
4241
}
4342

44-
45-
4643
public function render()
4744
{
4845
return view('livewire.profile');

0 commit comments

Comments
 (0)