Edit forgot password

This commit is contained in:
saeid
2019-04-15 18:56:16 +04:30
parent 8986f934a3
commit 4c286bfbc0
15 changed files with 620 additions and 174 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ const ApiService = {
},
async (error) => {
if (error.request.status == 401) {
if (error.config.url.includes('/o/token/')) {
if (error.config.url.includes('/auth/login/')) {
// Refresh token has failed. Logout the user
store.dispatch('auth/logout')
throw error