Skip to content

Commit 575ca80

Browse files
committed
[31/8/22] DeletePermanently: fix login
1 parent 4a35328 commit 575ca80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/admin_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ func (controller *Controller) DeletePermanently(c echo.Context) error {
2828

2929
is_auth_type := session.Values["is_auth_type"]
3030
if is_auth_type == -1 {
31-
log.Warn("for GET to users without no-session [@route: /login]")
31+
log.Warn("for GET to admin delete permanently without no-session [@route: /login]")
3232
middleware.SetFlashError(c, "login process failed!")
33-
log.Warn("END request method GET for users: [-]failure")
33+
log.Warn("END request method GET for admin delete permanently: [-]failure")
3434
return c.Redirect(http.StatusFound, "/login")
3535
}
3636

0 commit comments

Comments
 (0)