Customize redirection when user is not allowed

8 years 8 months ago #269457 by huguesmarcil
Hello everybody,
My website is configured to allow viewing another user profile only if logged in. The problem is that when public members (not logged in) try to see another user profile they just get this error message 'UE_NOT_AUTHORIZED' (which gives this in french :'Vous n\'êtes pas autorisé à voir le contenu de cette page !)

I would rather prefer them to be redirected to a login/subscription page (keeping the error message).

Anyone knows if this is possible and which file needs to be edited ?
Thank you in advance,
Hugues

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.153 seconds

Facebook Twitter LinkedIn