[fix] redirect when saving preferences
Erroneously commit 87e4c4762 droped the 302 redirect. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									6c0114567e
								
							
						
					
					
						commit
						2bf297b19f
					
				| @ -813,7 +813,7 @@ def preferences(): | |||||||
| 
 | 
 | ||||||
|     # save preferences |     # save preferences | ||||||
|     if request.method == 'POST': |     if request.method == 'POST': | ||||||
|         resp = make_response(url_for('index', _external=True)) |         resp = make_response(redirect(url_for('index', _external=True))) | ||||||
|         try: |         try: | ||||||
|             request.preferences.parse_form(request.form) |             request.preferences.parse_form(request.form) | ||||||
|         except ValidationException: |         except ValidationException: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Markus Heiser
						Markus Heiser