mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-29 10:49:14 +01:00
@@ -51,6 +51,8 @@ export const createSignInEventHandler = (db: Database): Exclude<NextAuthConfig["
|
||||
);
|
||||
}
|
||||
|
||||
logger.info(`User '${dbUser.name}' logged in at ${dayjs().format()}`);
|
||||
|
||||
// We use a cookie as localStorage is not shared with server (otherwise flickering would occur)
|
||||
cookies().set(colorSchemeCookieKey, dbUser.colorScheme, {
|
||||
path: "/",
|
||||
|
||||
Reference in New Issue
Block a user