Bug tracker
User Login Form returns General Error Page when submitting wilth NULL fields (fix completed in vcs)
This didn't seem to happen on earlier phpbb3 RC releases, but does so now on the GOLD release...you can see what I mean by doing this (submit blank login form), on this website's forum login too.
I'm sure it's a small fix, and would be nice to have it not do this anymore as it looks buggy and gives a bad User Experience.
Cheers for everything! Oz
Comments / History
In the files includes/auth/auth_apache, auth_db, and auth_ldap :
if (!$password)
{
return array(
'status' => LOGIN_BREAK,
'error_msg' => 'NO_PASSWORD_SUPPLIED',
);
}
change LOGIN_BREAK to LOGIN_ERROR_PASSWORD. this will pull up the regular login dialog box instead of the general error screen.
I suspect there was some reason for doing this originally however.