projects
/
cascardo
/
ipsilon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use helper cookie to remember the username
[cascardo/ipsilon.git]
/
ipsilon
/
login
/
authpam.py
diff --git
a/ipsilon/login/authpam.py
b/ipsilon/login/authpam.py
index
c88f0a0
..
58e07cf
100755
(executable)
--- a/
ipsilon/login/authpam.py
+++ b/
ipsilon/login/authpam.py
@@
-49,7
+49,7
@@
class Pam(LoginFormBase):
if username and password:
user = self._authenticate(username, password)
if user:
- return self.lm.auth_successful(user)
+ return self.lm.auth_successful(user
, 'password'
)
else:
error = "Authentication failed"
cherrypy.log.error(error)