mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
login refactor
This commit is contained in:
@ -75,3 +75,8 @@ export const logout = ({ commit, dispatch, state }, noRequest = false) => {
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
export const loginOnBoardingUser = ({ commit, dispatch, state }, token) => {
|
||||
commit(types.AUTH_SUCCESS, token)
|
||||
window.toastr['success']('Login Successful')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user