Fix cookie invalidation when deleting account
This commit is contained in:
parent
ea732325e5
commit
4ffa565626
@ -28,7 +28,7 @@ class SettingsController(
|
||||
return result.fold(
|
||||
{
|
||||
when (it) {
|
||||
DeleteError.Unregistered -> Response.redirect("/").invalidateCookie("Authorization")
|
||||
DeleteError.Unregistered -> Response.redirect("/").invalidateCookie("Bearer")
|
||||
DeleteError.WrongPassword -> Response(Status.OK).html(
|
||||
settingView.settings(
|
||||
jwtPayload,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user