mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 00:45:35 -04:00 
			
		
		
		
	Fixed bug where rando 401 causes signin redirect
This commit is contained in:
		
							parent
							
								
									1887840507
								
							
						
					
					
						commit
						e48924a228
					
				| @ -1,6 +1,6 @@ | ||||
| //when signed out, or session expires forward to sign in page
 | ||||
| Ext.Ajax.on('requestexception', function(conn, response, options) { | ||||
|   if (response.status === 401) { window.location = '/users/sign_in'; } | ||||
|   if (response.status === 401 && response.statusText === "Unauthorized") { window.location = '/users/sign_in'; } | ||||
| }, this); | ||||
| 
 | ||||
| //Override default netzke time entry field
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user