mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Removing debug loging
This commit is contained in:
parent
551ca3753c
commit
2127cfd44b
2 changed files with 2 additions and 10 deletions
|
@ -50,11 +50,6 @@ if (!empty($_POST['ok'])) {
|
|||
$pw_len = strlen($_POST['v_password']);
|
||||
if ($pw_len < 6 ) $_SESSION['error_msg'] = __('Password is too short.',$error_msg);
|
||||
}
|
||||
// Check username length
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$username_len = strlen($_POST['v_username']);
|
||||
if ($username_len > 12) $_SESSION['error_msg'] = __('Username is too long. Maximum 12 characters', $error_msg);
|
||||
}
|
||||
|
||||
// Protect input
|
||||
$v_username = escapeshellarg($_POST['v_username']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue