Login Problems

You are here:
  • Main
  • Login Problems
< All Topics

Unable to Log In

Most of the time this is a problem with your cookie settings being incorrect or inadequate. For more information about MyBB’s cookies, read Cookies.

Your cookie settings can be found in: Admin CP > Configuration > Settings > Site Details. The two settings are Cookie Domain and Cookie Path.

By default, MyBB suggests Cookie Domain to be blank, and Cookie Path to be /. Although this theoretically will work, in many cases it is inadequate.

You can use this tool to generate appropriate cookie settings, but here are some examples of what valid cookie settings look like:

Forum URLCookie DomainCookie Path

These cookie settings should work on all MyBB installations. If you have site-integration, your cookie settings may need to be more generalized.

After you change your cookie settings, please advise your users to log out and clear cookies stored by their browser, so that the new cookies can take effect.

Password Change

It’s possible to change a user’s password by executing an SQL query — replace RANDOM_VALUE with desired password, and USER_ID with targeted user’s ID:

UPDATE mybb_users SET `password` = md5(CONCAT(md5('temp-salt'), md5('RANDOM_VALUE'))), salt = 'temp-salt' WHERE uid = USER_ID;

After this operation, you should change the password again using MyBB’s interface.

Table of Contents