Update authenticationService.ts to allow kiger authenticated access
This commit is contained in:
parent
340e75b112
commit
1766aa4547
@ -14,6 +14,9 @@ export async function isDiscordAuthenticated(): Promise<boolean> {
|
|||||||
const ownerId: string | undefined = getOwnerId()
|
const ownerId: string | undefined = getOwnerId()
|
||||||
if (!ownerId) return false
|
if (!ownerId) return false
|
||||||
|
|
||||||
|
// white list kiger for card access
|
||||||
|
if (ownerId === '308005533028319232') return true
|
||||||
|
|
||||||
return !!(await fetchActiveTeamByOwnerId(ownerId))
|
return !!(await fetchActiveTeamByOwnerId(ownerId))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user