Changed Pman.phpPman/Login.php
[Pman.Base] / Pman / Login.php
index df0aafd..1ad498d 100644 (file)
@@ -340,7 +340,7 @@ class Pman_Login extends Pman
         }
         
         if(!empty($u->oath_key) && empty($_REQUEST['oath_password'])){
-            $this->jerror('LOGIN-BAD','Your account requires Two-Factor Authentication');
+            $this->jerror('LOGIN-2FA','Your account requires Two-Factor Authentication');
         }
         
         // check if config allows non-owner passwords.