mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-19 13:26:04 +00:00
* refactor: auth * chore: tests * Remove await on non-async method * refactor: constants * chore: remove extra async Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
7 lines
236 B
TypeScript
7 lines
236 B
TypeScript
export const jwtSecret = process.env.JWT_SECRET;
|
|
export const IMMICH_ACCESS_COOKIE = 'immich_access_token';
|
|
export const IMMICH_AUTH_TYPE_COOKIE = 'immich_auth_type';
|
|
export enum AuthType {
|
|
PASSWORD = 'password',
|
|
OAUTH = 'oauth',
|
|
}
|