mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-14 00:34:05 +00: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