HOWTO: Force all members to change their password

Post

Posted
Rating:
Item has a rating of 5 (Liked by Chris GrahamLiked by DuckLiked by Jason Verhagen)
#1895 (In Topic #371)
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
This is a VERY easy tutorial on how you can force all members to have to change their password on the next login to your Composr-powered website.

This tutorial only applies to those running the forum driver "Conversr" (Composr's native forum system) and are using an SQL database such as MySQL. If you are using another forum driver, such as PHPBB, then this tutorial does not apply to you.

All you have to do is access your SQL database of your Composr installation and run the following SQL statement (this statement is syntaxed for MySQL... adjust accordingly):

UPDATE (prefix)_f_members SET m_password_compat_scheme = 'temporary' WHERE id > 1 AND m_password_compat_scheme LIKE ''

where prefix is your database table prefix for Composr. The 'id > 1' makes the SQL ignore the guest user; we don't want to have to force guests to change a nonexisting password. m_password_compat_scheme LIKE '' where condition will also skip any members who have a scheme set. This is in case your members may have authenticated elsewhere, such as the Facebook Connect addon.

This will effectively require all members to change their password upon the next login to your Composr website.

Last edit: by Patrick Schmalstig


  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,827 members
  • Our newest member is LowfareMart
Back to Top