summaryrefslogtreecommitdiffstats
path: root/ipsilon/login/authkrb.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-08-01 08:15:49 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-09-24 20:29:20 +0200
commit25b8eaf83e681a9322cffe61aad5254bcbe0c917 (patch)
tree8ccfe8a892e669b85b5930a43fd2cbb0017c807d /ipsilon/login/authkrb.py
parenta511d8ab35cc0f2872eac640ed4120766f92704a (diff)
downloadipsilon-25b8eaf83e681a9322cffe61aad5254bcbe0c917.tar.gz
ipsilon-25b8eaf83e681a9322cffe61aad5254bcbe0c917.tar.xz
ipsilon-25b8eaf83e681a9322cffe61aad5254bcbe0c917.zip
Use helper cookie to remember the username
This makes the login page a lot more friendy Available only over HTTPS Max age set to 15 days Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'ipsilon/login/authkrb.py')
-rwxr-xr-xipsilon/login/authkrb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsilon/login/authkrb.py b/ipsilon/login/authkrb.py
index af659e7..d5ceaf3 100755
--- a/ipsilon/login/authkrb.py
+++ b/ipsilon/login/authkrb.py
@@ -40,7 +40,7 @@ class KrbAuth(LoginPageBase):
# was set. Check the session has a user set already or error.
if self.user and self.user.name:
userdata = {'krb_principal_name': self.user.name}
- return self.lm.auth_successful(self.user.name, userdata)
+ return self.lm.auth_successful(self.user.name, 'krb', userdata)
else:
return self.lm.auth_failed()