mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Changed import path.
This commit is contained in:
parent
a62e84f516
commit
8525188e42
365 changed files with 1277 additions and 1267 deletions
|
|
@ -1,13 +1,13 @@
|
|||
import { z } from 'zod';
|
||||
import { checkPassword } from 'lib/auth';
|
||||
import { createSecureToken } from 'lib/jwt';
|
||||
import { checkPassword } from '@/lib/auth';
|
||||
import { createSecureToken } from '@/lib/jwt';
|
||||
import { redisEnabled } from '@umami/redis-client';
|
||||
import { getUserByUsername } from 'queries';
|
||||
import { json, unauthorized } from 'lib/response';
|
||||
import { parseRequest } from 'lib/request';
|
||||
import { saveAuth } from 'lib/auth';
|
||||
import { secret } from 'lib/crypto';
|
||||
import { ROLES } from 'lib/constants';
|
||||
import { getUserByUsername } from '@/queries';
|
||||
import { json, unauthorized } from '@/lib/response';
|
||||
import { parseRequest } from '@/lib/request';
|
||||
import { saveAuth } from '@/lib/auth';
|
||||
import { secret } from '@/lib/crypto';
|
||||
import { ROLES } from '@/lib/constants';
|
||||
|
||||
export async function POST(request: Request) {
|
||||
const schema = z.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue