authentik now working with convex auth
This commit is contained in:
4
packages/backend/types/auth.ts
Normal file
4
packages/backend/types/auth.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const PASSWORD_MIN = 8;
|
||||
export const PASSWORD_MAX = 100;
|
||||
export const PASSWORD_REGEX =
|
||||
/^(?=.{8,100}$)(?!.*\s)(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[\p{P}\p{S}]).*$/u;
|
||||
5
packages/backend/types/index.ts
Normal file
5
packages/backend/types/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export {
|
||||
PASSWORD_MIN,
|
||||
PASSWORD_MAX,
|
||||
PASSWORD_REGEX,
|
||||
} from './auth';
|
||||
Reference in New Issue
Block a user