hotfix: magiclink dynamic email redirection url (#67)
* chore: modified magiclink /signin function to work with origin * chore: modified testcases for signInMagicLink to reflect new changes * chore: removed prisma migration file * chore: removed admin module dulicate from guards folder * chore: implemented ENUMs for origins in signin method * chore: added VITE_ADMIN_URL to .env.example file
This commit is contained in:
@@ -11,6 +11,11 @@ enum AuthTokenType {
|
||||
REFRESH_TOKEN = 'refresh_token',
|
||||
}
|
||||
|
||||
export enum Origin {
|
||||
ADMIN = 'admin',
|
||||
APP = 'app',
|
||||
}
|
||||
|
||||
/**
|
||||
* This function allows throw to be used as an expression
|
||||
* @param errMessage Message present in the error message
|
||||
|
||||
Reference in New Issue
Block a user