update: change redirect path of admin panel

This commit is contained in:
mahyargdz
2024-11-06 11:44:25 +03:30
parent 08ed094703
commit 245051024b
+1 -1
View File
@@ -78,7 +78,7 @@ export default {
data: this.login data: this.login
}) })
.then(response => { .then(response => {
window.location.replace(window.location.origin + "/admin/users" ) window.location.replace(window.location.origin + "/admin" )
}) })
.catch(err => { .catch(err => {
if (err.response.status === 422) this.validation = err.response.data.validation if (err.response.status === 422) this.validation = err.response.data.validation