Customization of login page

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
9/17/2008 9:05:49 AM
Gravatar
Total Posts 18439

Re: Customization of login page

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

11/19/2008 5:53:28 AM
Gravatar
Total Posts 88

Re: Customization of login page

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

11/19/2008 7:06:06 AM
Gravatar
Total Posts 18439

Re: Customization of login page

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.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.