projects
/
cascardo
/
ipsilon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add attribute mapping for user information
[cascardo/ipsilon.git]
/
ipsilon
/
login
/
authtest.py
diff --git
a/ipsilon/login/authtest.py
b/ipsilon/login/authtest.py
index
55b30a4
..
44492a4
100755
(executable)
--- a/
ipsilon/login/authtest.py
+++ b/
ipsilon/login/authtest.py
@@
-33,8
+33,9
@@
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)
+ testdata = {'fullname': 'Test User %s' % username}
return self.lm.auth_successful(self.trans,
return self.lm.auth_successful(self.trans,
- username, 'password')
+ username, 'password'
, testdata
)
else:
cherrypy.log("User %s failed authentication." % username)
error = "Authentication failed"
else:
cherrypy.log("User %s failed authentication." % username)
error = "Authentication failed"