[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for November, 2024.
Check out Janggi (Korean Chess), our featured variant for November, 2024.
The login() function defined in /index/loginfuncs.php can now take one or two arguments. The first is userid, and the second is password. If the userid is provided by itself, it returns true only if the user is already logged in. It works the same way if you give an empty string as the password. If both the userid and a non-empty password are provided, it will check whether the password is correct even if the user is already logged in, and it will return true only if the correct password has been given. This does the same job as the verifylogin() function which Ben added but which I removed.