This repository was archived by the owner on Aug 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -333,6 +333,7 @@ export default {
333
333
'Local CPU Cores' : "Cœurs de processeur de l'hôte local" ,
334
334
'Log file not found or empty' : 'Fichier journal introuvable ou vide' ,
335
335
'Login' : "S'identifier" ,
336
+ 'Login session expired or authorization error.' : "La session de connexion a expiré ou erreur d'autorisation." ,
336
337
'Logout' : 'Se déconnecter' ,
337
338
'Maximum' : 'Maximum' ,
338
339
'Maximum number of modelling threads' : 'Nombre maximum de threads de modélisation' ,
Original file line number Diff line number Diff line change @@ -112,7 +112,11 @@ export default {
112
112
( error ) => {
113
113
if ( error . response ) {
114
114
if ( error . response . status === 401 || error . response . status === 403 ) { // open login URL
115
- window . location . assign ( this . loginUrl )
115
+ console . warn ( 'Authentication session expired, status:' , error . response . status )
116
+ this . $q . notify ( { type : 'negative' , message : this . $t ( 'Login session expired or authorization error.' ) } )
117
+ setTimeout (
118
+ ( ) => window . location . assign ( this . loginUrl ) ,
119
+ 5000 )
116
120
}
117
121
}
118
122
return Promise . reject ( error )
You can’t perform that action at this time.
0 commit comments