1
0
forked from noxious/server
This commit is contained in:
2025-02-12 00:50:51 +01:00
parent c47339dfcd
commit e40a56825a
121 changed files with 468 additions and 3305 deletions

View File

@ -1,11 +1,9 @@
import jwt from 'jsonwebtoken'
import type { Request, Response } from 'express'
import { BaseController } from '@/application/base/baseController'
import config from '@/application/config'
import { loginAccountSchema, registerAccountSchema, resetPasswordSchema, newPasswordSchema } from '@/application/zodTypes'
import { loginAccountSchema, newPasswordSchema, registerAccountSchema, resetPasswordSchema } from '@/application/zodTypes'
import UserService from '@/services/userService'
import type { Request, Response } from 'express'
import jwt from 'jsonwebtoken'
export class AuthController extends BaseController {
/**