|Reported by:||Owned by:||nobody|
|Cc:||Taavi Taijala||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||yes||Patch needs improvement:||no|
When a user is inactived in the admin interface, he should not be able to access login_required views.
The user should be authenticated and active in order to see these views. The additional decorator active_login_required solves this.
I am sorry for the duplicating of code, but it looked much better this way, than actually calling login_required with an additional parameter.
Change History (8)
comment:2 Changed 6 years ago by
|Cc:||Taavi Taijala added|
comment:6 Changed 6 years ago by
|Triage Stage:||Unreviewed → Design decision needed|