Plugin Directory

Changeset 2613018


Ignore:
Timestamp:
10/12/2021 12:14:00 PM (4 years ago)
Author:
code9fair
Message:

Update description of error

Location:
code9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code9/tags/1.0.0/function/code9_security.php

    r2612798 r2613018  
    6666                        code9_security_public_unset();
    6767
    68                         throw new Exception('Wrong crypto');
     68                        throw new Exception('Wrong crypto decrypt');
    6969                    } else {
    7070
     
    149149                                                throw new Exception('Your account has been temporarily locked');
    150150                                            } else {
    151                                                 throw new Exception('Wrong 2-step code');
     151                                                throw new Exception('Wrong 2-step verification code');
    152152                                            }
    153153
     
    433433                    ]);
    434434                } 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>");
    436436                }
    437437
  • code9/trunk/function/code9_security.php

    r2612798 r2613018  
    6666                        code9_security_public_unset();
    6767
    68                         throw new Exception('Wrong crypto');
     68                        throw new Exception('Wrong crypto decrypt');
    6969                    } else {
    7070
     
    149149                                                throw new Exception('Your account has been temporarily locked');
    150150                                            } else {
    151                                                 throw new Exception('Wrong 2-step code');
     151                                                throw new Exception('Wrong 2-step verification code');
    152152                                            }
    153153
     
    433433                    ]);
    434434                } 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>");
    436436                }
    437437
Note: See TracChangeset for help on using the changeset viewer.