From aa16671255ccb3cee2a5cee651915beb878c199b Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 28 Dec 2021 20:43:09 +0200 Subject: [PATCH] remove louds --- src/application/controller/login.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/application/controller/login.php b/src/application/controller/login.php index c1840cd..b0be07d 100644 --- a/src/application/controller/login.php +++ b/src/application/controller/login.php @@ -13,40 +13,40 @@ if (isset($_POST) && $_POST) { // Validate userName if (!isset($_POST['userName'])) { - $errorUserName = _('Username value required!'); + $errorUserName = _('Username value required.'); } else { if (!Valid::userName($_POST['userName'])) { - $errorUserName = _('Username must contain a-z_0-9 up to 16 chars!'); + $errorUserName = _('Username must contain a-z_0-9 up to 16 chars.'); } $userName = Filter::userName($_POST['userName']); if (!$userName) { - $errorUserName = _('Username required!'); + $errorUserName = _('Username required.'); } } // Validate userPrivateKey if (!isset($_POST['userPrivateKey'])) { - $errorUserPrivateKey = _('Key value required!'); + $errorUserPrivateKey = _('Key value required.'); } else { if (!Valid::userPrivateKey($_POST['userPrivateKey'])) { - $errorUserPrivateKey = _('Key must contain a-z_0-9 chars!'); + $errorUserPrivateKey = _('Key must contain a-z_0-9 chars.'); } $userPrivateKey = Filter::userPrivateKey($_POST['userPrivateKey']); if (!$userPrivateKey) { - $errorUserPrivateKey = _('Private key required!'); + $errorUserPrivateKey = _('Private key required.'); } } @@ -71,7 +71,7 @@ if (isset($_POST) && $_POST) { } else { - $errorUserName = _('Username not exists or pending for registration!'); + $errorUserName = _('Username not exists or pending for registration.'); } }