Show More
@@ -101,7 +101,7 b' def find_user_password(self, realm, auth' | |||||
101 | user, passwd = auth.get('username'), auth.get('password') |
|
101 | user, passwd = auth.get('username'), auth.get('password') | |
102 | if not user or not passwd: |
|
102 | if not user or not passwd: | |
103 | if not prefix: |
|
103 | if not prefix: | |
104 |
prefix = ' |
|
104 | prefix = realm.split(' ')[0].lower() | |
105 | params = 'service=%s prefix=%s' % (_service, prefix) |
|
105 | params = 'service=%s prefix=%s' % (_service, prefix) | |
106 | if user: |
|
106 | if user: | |
107 | params = '%s user=%s' % (params, user) |
|
107 | params = '%s user=%s' % (params, user) |
General Comments 0
You need to be logged in to leave comments.
Login now