| |
@@ -301,12 +301,12 @@
|
| |
context.session.validate()
|
| |
except koji.AuthLockError:
|
| |
# might be ok, depending on method
|
| |
- if context.method not in ('exclusiveSession', 'login', 'krbLogin', 'logout'):
|
| |
+ if context.method not in ('exclusiveSession', 'login', 'logout'):
|
| |
raise
|
| |
|
| |
def enforce_lockout(self):
|
| |
if context.opts.get('LockOut') and \
|
| |
- context.method not in ('login', 'krbLogin', 'sslLogin', 'logout') and \
|
| |
+ context.method not in ('login', 'sslLogin', 'logout') and \
|
| |
not context.session.hasPerm('admin'):
|
| |
raise koji.ServerOffline("Server disabled for maintenance")
|
| |
|
| |
@@ -858,7 +858,6 @@
|
| |
registry.register_instance(functions)
|
| |
registry.register_module(hostFunctions, "host")
|
| |
registry.register_function(koji.auth.login)
|
| |
- registry.register_function(koji.auth.krbLogin)
|
| |
registry.register_function(koji.auth.sslLogin)
|
| |
registry.register_function(koji.auth.logout)
|
| |
registry.register_function(koji.auth.subsession)
|
| |
Fixes: https://pagure.io/koji/issue/3593