This is a forum to suggest new features for mojoPortal.
Yes that would work once the new version is released. I also have it on my to do list to implement an option so that MyPage could be used as the default home page, probably not in this coming release but maybe the next one.
Best,
Joe
Hi Joe,
About <add key="PageToRedirectToAfterSignIn" value="/custompage.aspx" />....
how do I make this conditional so that the user is only re-directed if they have the role "Approved User" (a role I have added to my site)?
The page I want to re-direct to is only visible to Approved Users.
I added the key above but now, if a user not in "Approved Users" logs in, he gets an error page "you don't have permission to view this page". Instead I'd like him (her?) to stay on the home page.
Thanks,
Leah
Hi Leah,
This redirect config option was only meant to solve the simple case preference for all users.
To redirect based on any logic like roles would require impelementing a UserSignInHandler.