also, fight stupidity in development, my bad :P

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-05-18 11:20:22 +02:00
parent 3c8bf348d1
commit 41f971a4d5

View File

@@ -635,7 +635,7 @@ if ($page == 'overview') {
standard_error(array('stringisempty', 'mypassword')); standard_error(array('stringisempty', 'mypassword'));
exit; exit;
} }
elseif ($password = $result['email_full']) { elseif ($password == $result['email_full']) {
standard_error('passwordshouldnotbeusername'); standard_error('passwordshouldnotbeusername');
exit; exit;
} }