mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
Fixes #1407
This commit is contained in:
parent
17fa86ad2f
commit
aa192d342d
2 changed files with 7 additions and 1 deletions
|
@ -147,9 +147,10 @@ trait HomeSettings
|
||||||
$log->save();
|
$log->save();
|
||||||
|
|
||||||
return redirect('/settings/home')->with('status', 'Password successfully updated!');
|
return redirect('/settings/home')->with('status', 'Password successfully updated!');
|
||||||
|
} else {
|
||||||
|
return redirect()->back()->with('error', 'There was an error with your request! Please try again.');
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect('/settings/home')->with('error', 'There was an error with your request!');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function email()
|
public function email()
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
@if (session('error'))
|
||||||
|
<div class="alert alert-danger px-3 h6 text-center">
|
||||||
|
{{ session('error') }}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
|
|
Loading…
Reference in a new issue