Commit fdbf0570 authored by Martin Lehoux's avatar Martin Lehoux

session is not capital xD

parent c273ed06
......@@ -53,7 +53,7 @@ class OauthMiddleware:
promo=r['promo'],
)
user.save()
request.Session['user'] = serializers.serialize('json',[user])
request.session['user'] = serializers.serialize('json',[user])
return HttpResponseRedirect('/home')
elif 'code' in request.session:
......
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