mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
16 lines
448 B
TypeScript
16 lines
448 B
TypeScript
export enum UserAuthTypeEnum {
|
|
register = 'register',
|
|
findPassword = 'findPassword',
|
|
wxLogin = 'wxLogin',
|
|
bindNotification = 'bindNotification',
|
|
captcha = 'captcha'
|
|
}
|
|
|
|
export const userAuthTypeMap = {
|
|
[UserAuthTypeEnum.register]: 'register',
|
|
[UserAuthTypeEnum.findPassword]: 'findPassword',
|
|
[UserAuthTypeEnum.wxLogin]: 'wxLogin',
|
|
[UserAuthTypeEnum.bindNotification]: 'bindNotification',
|
|
[UserAuthTypeEnum.captcha]: 'captcha'
|
|
};
|