Fixed issue where the login guard starts an endless loop
This commit is contained in:
		
							parent
							
								
									e26dc6c3a9
								
							
						
					
					
						commit
						b069361c1a
					
				| 
						 | 
				
			
			@ -12,7 +12,7 @@ export default boot<Store<StateInterface>>(({ router, store }) => {
 | 
			
		|||
        store.dispatch('session/logout').catch(error => {
 | 
			
		||||
          console.warn(error);
 | 
			
		||||
        });
 | 
			
		||||
        return next({ name: 'login', query: { redirect: to.fullPath } });
 | 
			
		||||
        return;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      if (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue