auth
This commit is contained in:
@@ -63,7 +63,24 @@ export function isAlpha(): boolean {
|
||||
* Get list of public routes that are always accessible
|
||||
*/
|
||||
export function getPublicRoutes(): readonly string[] {
|
||||
return ['/', '/api/signup'] as const;
|
||||
return [
|
||||
'/',
|
||||
'/api/signup',
|
||||
'/api/auth/signup',
|
||||
'/api/auth/login',
|
||||
'/api/auth/forgot-password',
|
||||
'/api/auth/reset-password',
|
||||
'/api/auth/demo-login',
|
||||
'/api/auth/session',
|
||||
'/api/auth/logout',
|
||||
'/auth/login',
|
||||
'/auth/signup',
|
||||
'/auth/forgot-password',
|
||||
'/auth/reset-password',
|
||||
'/auth/iracing',
|
||||
'/auth/iracing/start',
|
||||
'/auth/iracing/callback',
|
||||
] as const;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user