feat(frontend): require center API key on login/auth calls
This commit is contained in:
@@ -4,7 +4,7 @@ import type { AuthSession } from '../lib/auth-storage'
|
||||
export type AuthContextValue = {
|
||||
session: AuthSession | null
|
||||
isAuthed: boolean
|
||||
login: (centerApiBase: string, email: string, password: string) => Promise<void>
|
||||
login: (centerApiBase: string, centerApiKey: string, email: string, password: string) => Promise<void>
|
||||
logout: () => Promise<void>
|
||||
ensureFreshToken: () => Promise<string | null>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user