Skip to content

Commit bc65e0d

Browse files
author
Ben Weaver
committed
Fixed a realm wobble with DIGEST-MD5 authentication.
1 parent b0a7b92 commit bc65e0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sasl/auth.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,12 @@ def __init__(self, pass_type, users, user, passwd, serv_type, host, authzid=None
8888
self._user = user
8989
self._passwd = passwd
9090
self._authzid = authzid
91-
self._realm = realm
9291
self._serv_type = serv_type
9392
self._host = host
9493

94+
if realm:
95+
self.realm = realm
96+
9597
## Install
9698
self._entities = dict(
9799
(k, pass_type.make(self, k, p))

0 commit comments

Comments
 (0)