From 3360be86fb6a595659c17f272d0c6072e512c154 Mon Sep 17 00:00:00 2001 From: Bobby <30593201+luciferreeves@users.noreply.github.com> Date: Wed, 11 Feb 2026 14:53:34 +0530 Subject: Implement OpenID authentication flow, including user session management and user info retrieval --- utils/auth/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/auth/auth.go b/utils/auth/auth.go index 3cee3a4..9f6e79d 100644 --- a/utils/auth/auth.go +++ b/utils/auth/auth.go @@ -20,7 +20,7 @@ func IsAuthenticated(context *fiber.Ctx) bool { func RequireAuthentication(handler fiber.Handler) fiber.Handler { return func(context *fiber.Ctx) error { if !IsAuthenticated(context) { - return shortcuts.Redirect(context, "auth.authenticate") + return shortcuts.Redirect(context, "auth.login") } return handler(context) } -- cgit v1.2.3