Added success message when you change credentials

Added "see password" button - With CSS & Script (Script in file)
This commit is contained in:
Anders
2020-07-31 09:28:58 +02:00
parent 38f8bfa0c9
commit 56cbe7ad41
5 changed files with 35 additions and 6 deletions
@@ -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>');
}
}