Hi!
How can I prevent (without a hack) that the "You are not allowed to view this site" exception is fired and that the user is automatically redirected to the login page?
regards
Thomas
There not much you can do because Cuyahoga doesn't have a fixed login page. Maybe we can (ab)use the login page for the site administration. I'll have alook at it.
Yes, abusing the login page works. Version 1.0 will have the following setting in the web.config:
<add setting="RedirectToLoginWhenAccessDenied" value="true" /> <!-- true/false, customErrors must be enabled -->
Currently, the login page isn't localized though because it is more or less part of the site administration that also isn't localized but at least it might be better than the error message.
Thx! It's much better now.
But isn't it possible to specify an url where the you are redirected to for making a relogin. E.g. as an option to the current version. So it would be possible to redirect the user to the login module section on a specified site.
regards
Thomas
tdanzBut isn't it possible to specify an url where the you are redirected to for making a relogin. E.g. as an option to the current version. So it would be possible to redirect the user to the login module section on a specified site.
Yes, that would be nice. An optional url for the login page (specified by the user). When the url is empty, it goes to the 'other' login page.