Comment 8 for bug 1221716

Revision history for this message
Julie Pichon (jpichon) wrote :

After thinking about it further, I will propose a patch to remove 'Unauthorized' completely. It's too general, and not overridable (actually due to its location it would override a more specific message that may have been previously set). Unless we can have it provide more information it's not very useful.

Other unwanted places it shows up: I am not logged in and try to hit a direct URL. I get redirected to /auth/login/?next=/project/ correctly but am greeted with an 'Unauthorized' message. I think it's better to simply remove it from the general path for now, and keep the add_logout_reason() mechanism for more specific explanations.