diff production.ini @ 2132:9f5582151d53 beta

Alternative HTTP response codes when client failed to Authenticate correctly
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 16 Mar 2012 23:58:05 +0200
parents 04d26165c3d9
children 50aa7cb78cfe
line wrap: on
line diff
--- a/production.ini	Fri Mar 16 18:49:31 2012 +0200
+++ b/production.ini	Fri Mar 16 23:58:05 2012 +0200
@@ -93,6 +93,11 @@
 ## all running rhodecode instances. Leave empty if you don't use it
 instance_id = 
 
+## alternative return HTTP header for failed authentication. Default HTTP
+## response is 401 HTTPUnauthorized. Currently HG clients have troubles with 
+## handling that. Set this variable to 403 to return HTTPForbidden
+auth_ret_code =
+
 ####################################
 ###        CELERY CONFIG        ####
 ####################################