18 lines
1.3 KiB
TypeScript
18 lines
1.3 KiB
TypeScript
|
|
// Backend ile ayni, degistirilmemeli
|
|||
|
|
const PlatformLoginResultType = {
|
|||
|
|
Succeeded: 10, //+
|
|||
|
|
Failed: 11, // + Mesaj: InvalidUserNameOrPassword, Geçersiz kullanıcı adı veya parola!
|
|||
|
|
LockedOut: 12, //+ LockoutEnd:true, LockoutEnd>Today Mesaj: UserLockedOutMessage Hesap kilitli
|
|||
|
|
NotAllowed: 13, //+ EmailConfirmed:false -> Buton: Doğrulama Kodunu Tekrar Gönder, Mesaj: LoginIsNotAllowed Hesabınız etkin değil, Identity:ResendEmailConfirmedError
|
|||
|
|
RequiresTwoFactor: 14, //+ TwoFactorEnabled:true, Sayfa: TwoFactor
|
|||
|
|
WrongTwoFactorCode: 15, //+ Mesaj: WrongTwoFactorCode
|
|||
|
|
ShouldChangePasswordOnNextLogin: 16, // ShouldChangePasswordOnNextLogin:true, Sayfa: Şifre Yenileme, Mesaj: Şifre değiştirmelisiniz
|
|||
|
|
ShouldChangePasswordPeriodic: 17, // LastPasswordChangeTime:<Today+PasswordChangePeriodDays, Sayfa: Şifre Yenileme, Mesaj: Şifre değiştirmelisiniz
|
|||
|
|
NotVerified: 18, // IsVerified:true, Mesaj: Identity:UserNotVerifiedMessage
|
|||
|
|
NotAllowedIp: 19, // IpRestriction tablosu, Mesaj: Identity:IpRestrictionError
|
|||
|
|
LoginEndDateDue: 20, // LoginEndDate:>Today, Buton: ShowExtendMyLoginButton, Mesaj: Identity:LoginEndDateError, >LoginEndDate
|
|||
|
|
ShowCaptcha: 21, // AccessFailedCount>AccountCaptchaMaxFailedAccessAttempts, Sayfa: Show Captcha
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
export default PlatformLoginResultType
|