Fix of signin url when askbot.deps.django_authopenid is disabled #61

Merged
merged 1 commit into from Mar 27, 2012

Conversation

Projects
None yet
2 participants

When accessing views decorated with owner_or_moderator_required, anonymous users are redirected to the sign-in page first. After signing in, they are redirected back to the original page.

This logic is broken when askbot.deps.django_authopenid app is disabled, leading to an exception instead:

Exception Type: NoReverseMatch at /qa/users/41/maebert/
Exception Value: Reverse for 'user_signin' with arguments '()' and keyword arguments '{}' not found.

@evgenyfadeev evgenyfadeev added a commit that referenced this pull request Mar 27, 2012

@evgenyfadeev evgenyfadeev Merge pull request #61 from piskvorky/patch-5
Fix of signin url when askbot.deps.django_authopenid is disabled
ddb40b4

@evgenyfadeev evgenyfadeev merged commit ddb40b4 into ASKBOT:master Mar 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment