• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Gesior ACC forcing change password every X days

You could add a new column in the players table of your database called something like "passchange" containing the date of expiration. Now you would update that field every time someone changes the password, to X days forward. Then what you would need to do is to create an if statement checking if the current date is the same or higher than the "passchange" date. If it is, you would present a password change form to the user which he may not pass until the password is changed. Might also want to store the previous password or a boolean value to make sure the password was actually changed.
 
Back
Top