ui: Disable login button until redirected (#4857)

This commit is contained in:
davidjumani 2021-03-24 12:18:19 +05:30 committed by GitHub
parent dab7d29bb2
commit 61de2371ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,8 +189,8 @@ export default {
}
Login(loginParams)
.then((res) => this.loginSuccess(res))
.catch(err => this.requestFailed(err))
.finally(() => {
.catch(err => {
this.requestFailed(err)
state.loginBtn = false
})
} else if (customActiveKey === 'saml') {