cli: fix moshimoshi for krbLogin

This commit is contained in:
Yu Ming Zhu 2019-09-05 09:55:33 +00:00 committed by Tomas Kopecek
parent ce8ff9068c
commit 831f0dfdaf
2 changed files with 2 additions and 1 deletions

View file

@ -7332,7 +7332,7 @@ def handle_moshimoshi(options, session, args):
elif authtype == koji.AUTHTYPE_GSSAPI:
print("Authenticated via GSSAPI")
elif authtype == koji.AUTHTYPE_KERB:
print("Authenticated via Kerberos principal %s" % u["krb_principal"])
print("Authenticated via Kerberos principal %s" % session.krb_principal)
elif authtype == koji.AUTHTYPE_SSL:
print("Authenticated via client certificate %s" % options.cert)