Remove ref to the now useless autolock view

This commit is contained in:
Bubka
2023-10-30 13:47:02 +01:00
parent f0b954fc76
commit f7cceed126
2 changed files with 1 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ export const httpClientFactory = (endpoint = 'api') => {
// api calls are stateless so when user inactivity is detected
// by the backend middleware, it cannot logout the user directly
// so it returns a 418 response.
// We catch the 418 response and push the user to the autolock view
// We catch the 418 response and log the user out
if ( error.response.status === 418 ) {
const user = useUserStore()
user.logout()