mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-31 21:51:10 -04:00
refactor login
This commit is contained in:
@ -206,6 +206,7 @@ export default {
|
||||
this.loading = false
|
||||
Ls.set('auth.token', response.data.token)
|
||||
this.loginOnBoardingUser(response.data.token)
|
||||
window.toastr['success']('Login Successful')
|
||||
this.$router.push('/admin/dashboard')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user