AntonLV 7 lat temu
rodzic
commit
0880f42eee
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      template/scripts/BxBaseFormLogin.php

+ 3 - 3
template/scripts/BxBaseFormLogin.php

@@ -79,9 +79,9 @@ class BxBaseFormLogin extends BxTemplFormView
     {
         if (!parent::isValid())
             return false;
-        
-		$sId = trim($this->getCleanValue('ID'));
-        $sPassword = $this->getCleanValue('Password');
+
+        $sId = trim($this->getCleanValue('ID'));
+        $sPassword = trim($this->getCleanValue('Password'));
 
         if ($sId != ''){
             $sErrorString = bx_check_password($sId, $sPassword, $this->getRole());