mirror of
https://github.com/quantum5/nginx-krbauth.git
synced 2025-04-24 20:41:57 -04:00
Fix WWW-Authenticate: Negotiate check
This commit is contained in:
parent
cc52f74d9f
commit
7d4e26b959
|
@ -91,7 +91,7 @@ def make_401(reason, context, negotiate='Negotiate', **kwargs):
|
|||
</body>
|
||||
</html>
|
||||
''' % (reason,), status=401)
|
||||
if auth:
|
||||
if negotiate:
|
||||
resp.headers.add('WWW-Authenticate', negotiate)
|
||||
if LDAP_USER_DN:
|
||||
resp.headers.add('WWW-Authenticate', 'Basic')
|
||||
|
|
Loading…
Reference in a new issue