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
/
authtest.py
diff --git
a/ipsilon/login/authtest.py
b/ipsilon/login/authtest.py
index
df826c8
..
8eae0b6
100755
(executable)
--- a/
ipsilon/login/authtest.py
+++ b/
ipsilon/login/authtest.py
@@
-33,7
+33,7
@@
class TestAuth(LoginFormBase):
if username and password:
if password == 'ipsilon':
cherrypy.log("User %s successfully authenticated." % username)
if username and password:
if password == 'ipsilon':
cherrypy.log("User %s successfully authenticated." % username)
- return self.lm.auth_successful(username)
+ return self.lm.auth_successful(username
, 'password'
)
else:
cherrypy.log("User %s failed authentication." % username)
error = "Authentication failed"
else:
cherrypy.log("User %s failed authentication." % username)
error = "Authentication failed"