Thank you Anthony, got it working, and now my app looks much better.

On 1 feb, 10:56, Anthony <abasta...@gmail.com> wrote:
> It should redirect to whatever URL you put in
> auth.settings.on_failed_authorization. By default, it goes to
> /default/user/not_authorized (assuming /default/user is your user function
> that calls auth), so you can either redirect to a different URL, or edit
> the user() function to look for request.args(0) == 'not_authorized' and
> return a custom view in that case (otherwise, auth will simply return a
> plain text 'ACCESS DENIED' message).
>
> Anthony
>
>
>
>
>
>
>
> On Wednesday, February 1, 2012 11:38:10 AM UTC-5, Francisco wrote:
>
> > Hi, I have search in the documentation and in this group older entries
> > but I have not found a simple way to personalize the "Not Authorized"
> > that is displayed when a user tries to access a controller function
> > which requires a group he doesn't belong to.
>
> > Hope someone can point me into the right direction.
>
> > Thank you everyone.

Reply via email to