mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
* remove whitespaces
This commit is contained in:
@@ -66,17 +66,17 @@ else if(isset($_GET['name']))
|
||||
else if(isset($_GET['password']) && isset($_GET['password2'])) {
|
||||
$password = $_GET['password'];
|
||||
$password2 = $_GET['password2'];
|
||||
|
||||
|
||||
if(!isset($password[0])) {
|
||||
error_('Please enter the password for your new account.');
|
||||
}
|
||||
|
||||
|
||||
if(!Validator::password($password))
|
||||
error_(Validator::getLastError());
|
||||
|
||||
|
||||
if($password != $password2)
|
||||
error_('Passwords are not the same.');
|
||||
|
||||
|
||||
success_(1);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user