Changeset 2613018
- Timestamp:
- 10/12/2021 12:14:00 PM (4 years ago)
- Location:
- code9
- Files:
-
- 2 edited
-
tags/1.0.0/function/code9_security.php (modified) (3 diffs)
-
trunk/function/code9_security.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
code9/tags/1.0.0/function/code9_security.php
r2612798 r2613018 66 66 code9_security_public_unset(); 67 67 68 throw new Exception('Wrong crypto ');68 throw new Exception('Wrong crypto decrypt'); 69 69 } else { 70 70 … … 149 149 throw new Exception('Your account has been temporarily locked'); 150 150 } else { 151 throw new Exception('Wrong 2-step code');151 throw new Exception('Wrong 2-step verification code'); 152 152 } 153 153 … … 433 433 ]); 434 434 } else { 435 wp_die("<h1>{$error->getMessage()}</h1><p>" . __(" Reload page to", 'c9') . " <a href=\".\">" . __("try again", 'c9') . "</a></p>");435 wp_die("<h1>{$error->getMessage()}</h1><p>" . __("Maybe you are forced to logout. Reload page to continue.") . "</p><p>" . __("Reload page to", 'c9') . " <a href=\".\">" . __("try again", 'c9') . "</a></p>"); 436 436 } 437 437 -
code9/trunk/function/code9_security.php
r2612798 r2613018 66 66 code9_security_public_unset(); 67 67 68 throw new Exception('Wrong crypto ');68 throw new Exception('Wrong crypto decrypt'); 69 69 } else { 70 70 … … 149 149 throw new Exception('Your account has been temporarily locked'); 150 150 } else { 151 throw new Exception('Wrong 2-step code');151 throw new Exception('Wrong 2-step verification code'); 152 152 } 153 153 … … 433 433 ]); 434 434 } else { 435 wp_die("<h1>{$error->getMessage()}</h1><p>" . __(" Reload page to", 'c9') . " <a href=\".\">" . __("try again", 'c9') . "</a></p>");435 wp_die("<h1>{$error->getMessage()}</h1><p>" . __("Maybe you are forced to logout. Reload page to continue.") . "</p><p>" . __("Reload page to", 'c9') . " <a href=\".\">" . __("try again", 'c9') . "</a></p>"); 436 436 } 437 437
Note: See TracChangeset
for help on using the changeset viewer.