mirror of
https://github.com/anonaddy/anonaddy
synced 2026-04-26 01:25:06 +02:00
Added Laravel Pint for formatting
This commit is contained in:
@@ -10,7 +10,7 @@ class PasswordController extends Controller
|
||||
{
|
||||
public function update(UpdatePasswordRequest $request)
|
||||
{
|
||||
if (!Hash::check($request->current, user()->password)) {
|
||||
if (! Hash::check($request->current, user()->password)) {
|
||||
return redirect(url()->previous().'#update-password')->withErrors(['current' => 'Current password incorrect']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user