ASKBOT/askbot-devel — pull request #61 by piskvorky (2012-03-27 19:02:37+00:00)
Title: Fix of signin url when askbot.deps.django_authopenid is disabled

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.
```