Skip to content

Commit

Permalink
Merge pull request #963 from moorchegue/features/pyramid_auth_post
Browse files Browse the repository at this point in the history
Allow POST requests for auth method so OpenID forms could use it that way
  • Loading branch information
omab authored Aug 6, 2016
2 parents 854add4 + 8aca599 commit a3084d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion social/apps/pyramid_app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from social.apps.pyramid_app.utils import psa, login_required


@view_config(route_name='social.auth', request_method='GET')
@view_config(route_name='social.auth', request_method=('GET', 'POST'))
@psa('social.complete')
def auth(request):
return do_auth(request.backend, redirect_name='next')
Expand Down

0 comments on commit a3084d8

Please sign in to comment.