Specific Login Module

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/9/2011 5:05:40 AM
Gravatar
Total Posts 88

Specific Login Module

Hi,
I am trying to create a specific login module for my application.
I redirected to the new login page and when I run the login button I've invoke the method
SiteUser.login returning the correct name of the user.
After I've create the new object SiteUser and triggering the event UserSignInEventArgs
However the application does not login.
I lack some event or invocation of methods?


Thanks

6/10/2011 7:38:14 AM
Gravatar
Total Posts 18439

Re: Specific Login Module

You could easily find answers to questions like this by studying the mojoPortal source code.

if (siteSettings.UseEmailForLogin)
            {
                FormsAuthentication.SetAuthCookie(
                    user.Email, true);
            }
            else
            {
                FormsAuthentication.SetAuthCookie(
                    user.LoginName, true);
            }

Hope that helps,

Joe

6/13/2011 3:34:16 AM
Gravatar
Total Posts 88

Re: Specific Login Module

ok

Thanks

 

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