summaryrefslogtreecommitdiff
path: root/controllers/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/auth.go')
-rw-r--r--controllers/auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/auth.go b/controllers/auth.go
index 964a22a..0c9df74 100644
--- a/controllers/auth.go
+++ b/controllers/auth.go
@@ -132,5 +132,5 @@ func Logout(ctx *fiber.Ctx) error {
log.Printf("Failed to destroy session: %v", err)
}
- return shortcuts.Redirect(ctx, "mainHall")
+ return shortcuts.Render(ctx, "auth/logout", nil)
}