Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
fc3da598
Commit
fc3da598
authored
Jan 26, 2012
by
Sofia Papagiannaki
Browse files
api authenticate return email for unique
parent
881c856c
Changes
1
Hide whitespace changes
Inline
Side-by-side
astakos/im/api.py
View file @
fc3da598
...
...
@@ -82,8 +82,8 @@ def authenticate(request):
response
=
HttpResponse
()
response
.
status
=
204
user_info
=
{
'u
niq
'
:
user
.
username
,
'
email
'
:
user
.
email
,
user_info
=
{
'u
sername
'
:
user
.
username
,
'
uniq
'
:
user
.
email
,
'auth_token'
:
user
.
auth_token
,
'auth_token_created'
:
user
.
auth_token_created
.
isoformat
(),
'auth_token_expires'
:
user
.
auth_token_expires
.
isoformat
()}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment