mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-21 05:39:22 +00:00
Added a more detailed callback view
This commit is contained in:
@@ -7,8 +7,9 @@ from django.contrib import messages
|
||||
from piston import forms
|
||||
from piston.models import Token
|
||||
|
||||
def oauth_callback_view(request, other):
|
||||
return HttpResponse("The application you allowed access to didn't request a callback, thats odd and should be fixed")
|
||||
@login_required
|
||||
def oauth_callback_view(request, token):
|
||||
return render_to_response('piston/callback_view.html', {'token': token })
|
||||
|
||||
|
||||
@login_required
|
||||
|
||||
Reference in New Issue
Block a user