Added success message when you change credentials
Added "see password" button - With CSS & Script (Script in file)
This commit is contained in:
@@ -152,6 +152,8 @@ class UserController extends Controller
|
||||
}
|
||||
} else { // Else if you're not editing the password but anything else (Email, Phone Number). Then update user.
|
||||
$user->update($data);
|
||||
|
||||
return redirect()->route("users.account")->with('success#credentialschanged', '<p class="text-center">Dine oplysninger er hermed ændret!</p>');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user