Fix #6800 - Login Dialog Remember Username / 2FA + other fixes
[Pman.Base] / Pman.php
index 9f9c783..b048ef5 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -560,7 +560,8 @@ class Pman extends HTML_FlexyFramework_Page
         
         echo $this->jsencode(array(
             'success'=> false, 
-            'data'=> array(), 
+            'data'=> array(),
+            'code' => $type,
             'errorMsg' => $str,
             'message' => $str, // compate with exeption / loadexception.
             'errors' => $errors ? $errors : true, // used by forms to flag errors.