Commit fc3da598 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

api authenticate return email for unique

parent 881c856c
......@@ -82,8 +82,8 @@ def authenticate(request):
response = HttpResponse()
response.status=204
user_info = {'uniq':user.username,
'email':user.email,
user_info = {'username':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()}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment