mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
This commit is contained in:
parent
56af91950a
commit
0d19e9a247
4 changed files with 5 additions and 6 deletions
|
|
@ -1,12 +1,12 @@
|
|||
import bcrypt from 'bcryptjs';
|
||||
import redis from '@/lib/redis';
|
||||
import debug from 'debug';
|
||||
import { ROLE_PERMISSIONS, ROLES, SHARE_TOKEN_HEADER } from '@/lib/constants';
|
||||
import { secret } from '@/lib/crypto';
|
||||
import { getRandomChars } from '@/lib/generate';
|
||||
import { createSecureToken, parseSecureToken, parseToken } from '@/lib/jwt';
|
||||
import { ensureArray } from '@/lib/utils';
|
||||
import { getUser } from '@/queries';
|
||||
import redis from '@/lib/redis';
|
||||
import { getUser } from '@/queries/prisma/user';
|
||||
|
||||
const log = debug('umami:auth');
|
||||
const SALT_ROUNDS = 10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue