Revision 0b08f096 daemons/ganeti-rapi
b/daemons/ganeti-rapi | ||
---|---|---|
139 | 139 |
valid_user = False |
140 | 140 |
if self._users: |
141 | 141 |
user = self._users.get(username, None) |
142 |
if user and user.password == password: |
|
142 |
if user and self.VerifyBasicAuthPassword(req, username, password, |
|
143 |
user.password): |
|
143 | 144 |
valid_user = True |
144 | 145 |
|
145 | 146 |
if not valid_user: |
Also available in: Unified diff