##// END OF EJS Templates
added some more logging into get_container_username function
marcink -
r3172:264d9c93 beta
parent child Browse files
Show More
@@ -276,9 +276,11 b' def get_container_username(environ, conf'
276 276 if str2bool(config.get('container_auth_enabled', False)):
277 277 from paste.httpheaders import REMOTE_USER
278 278 username = REMOTE_USER(environ)
279 log.debug('extracted REMOTE_USER:%s' % (username))
279 280
280 281 if not username and str2bool(config.get('proxypass_auth_enabled', False)):
281 282 username = environ.get('HTTP_X_FORWARDED_USER')
283 log.debug('extracted HTTP_X_FORWARDED_USER:%s' % (username))
282 284
283 285 if username:
284 286 # Removing realm and domain from username
General Comments 0
You need to be logged in to leave comments. Login now