Commit patched auth.py
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
e3cb272c41
commit
9eca0c928d
1 changed files with 7 additions and 5 deletions
|
@ -413,6 +413,8 @@ class Session(object):
|
|||
else:
|
||||
raise koji.AuthError('%s is not authorized to login other users' % client_dn)
|
||||
|
||||
user_id = self.getUserIdFromKerberos(username)
|
||||
if not user_id:
|
||||
user_id = self.getUserId(username)
|
||||
if not user_id:
|
||||
if context.opts.get('LoginCreatesUser'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue