[patch] Give views/decorators/auth.py a fighting chance of accomplishing something
auth.py is broken. user_passes_test is not a decorator, login_required throws away its view function and calls user_passes_test with only one argument.
This patch restores a vague semblance of correctness to the code..
Summary: |
[patch] Give auth-decorators.py a fighting chance of accomplishing something → [patch] Give views/decorators/auth.py a fighting chance of accomplishing something
|
Description: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
(In [1004]) Fixed #684 -- Fixed login_required and user_passes_test decorators. Thanks, rjwittams