mirror of https://github.com/apache/cloudstack.git
login: fix unhandled promise issue
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
fe051554a4
commit
83af66ca87
|
|
@ -174,8 +174,8 @@ export default {
|
|||
})
|
||||
},
|
||||
loginSuccess (res) {
|
||||
this.$router.push({ name: 'dashboard' })
|
||||
this.$message.loading('Login Successful. Discovering Features...', 5)
|
||||
this.$router.push({ path: '/dashboard' }).catch(() => {})
|
||||
},
|
||||
requestFailed (err) {
|
||||
if (err && err.response && err.response.data && err.response.data.loginresponse) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue