mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-28 03:00:29 -04:00
* feat(registration): allow self-hosted users to disable registration altogether * updated tests * fix build
11 lines
291 B
TypeScript
11 lines
291 B
TypeScript
/** Anonymous user ID used when DISABLE_AUTH is enabled */
|
|
export const ANONYMOUS_USER_ID = '00000000-0000-0000-0000-000000000000'
|
|
|
|
export const ANONYMOUS_USER = {
|
|
id: ANONYMOUS_USER_ID,
|
|
name: 'Anonymous',
|
|
email: 'anonymous@localhost',
|
|
emailVerified: true,
|
|
image: null,
|
|
} as const
|