Login always successfully

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
6/6/2013 10:06:40 PM
Gravatar
Total Posts 2
hà toi gọi tép bằng tôm, ăn nói lôm côm là dân thạch thất

Login always successfully

i have just downloaded  mojoportal and i installed it on my server. although i typed wrong password website could still log in successfully

you can watch this video for reference

http://youtu.be/Os_ddwiRcTs?t=7s

6/6/2013 11:13:51 PM
Gravatar
Total Posts 2239

Re: Login always successfully

Hi,

I'm not sure what you're talking about. Your video does not show that you were able to login successfully with an incorrect username and password. It does show that you're redirected to the homepage after trying to login but you are not actually logged in.

I went to your site and tried to login but I could not so I don't think all logins are successful. Did you mean to say that all logins are not successful?

Thanks,
Joe

6/7/2013 12:01:41 AM
Gravatar
Total Posts 2
hà toi gọi tép bằng tôm, ăn nói lôm côm là dân thạch thất

Re: Login always successfully

I am sorry. I made a mistake. I mean that I logged into the account with correct user name (admin@admin. com) and password (admin) but I could not log in successfully and access admin. 

You can try http://orion.hdavietnam.com/

 

6/7/2013 1:11:33 PM
Gravatar
Total Posts 18439

Re: Login always successfully

It seems like it is failing to set a login cookie or the login cookie is not being passed in the request headers between the web browser and the server.

For example if you have this web.config setting then the cookies will not be passed unless using https, with no authentication cookie it is the same as not being logged in.

<forms name=".mojochangeme" protection="All" timeout="129600" path="/" cookieless="UseCookies" requireSSL="true" />

requireSSL must only be true if you have an SSL certificate installed on the site and you must also have this setting in user.config:

<add key="SSLIsAvailable" value="true" />

Or if your site is hosted behind some kind of proxy server that is filtering the the request headers or using some kind of url forwarding for the host name it could cause a problem like that.

You can diagnose it further using a tool such as http fiddler to see what if any cookies are being passed in the request and response headers.

Hope that helps,

Joe

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