update: change redirect path of admin panel
This commit is contained in:
@@ -78,7 +78,7 @@ export default {
|
||||
data: this.login
|
||||
})
|
||||
.then(response => {
|
||||
window.location.replace(window.location.origin + "/admin/users" )
|
||||
window.location.replace(window.location.origin + "/admin" )
|
||||
})
|
||||
.catch(err => {
|
||||
if (err.response.status === 422) this.validation = err.response.data.validation
|
||||
|
||||
Reference in New Issue
Block a user