Single-sign-on and self-serve account management. https://netsyms.biz/apps/accounthub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

messages.php 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. define("MESSAGES", [
  6. "old_password_mismatch" => [
  7. "string" => "current password incorrect",
  8. "type" => "danger"
  9. ],
  10. "new_password_mismatch" => [
  11. "string" => "new password mismatch",
  12. "type" => "danger"
  13. ],
  14. "weak_password" => [
  15. "string" => "weak password",
  16. "type" => "danger"
  17. ],
  18. "password_updated" => [
  19. "string" => "password updated",
  20. "type" => "success"
  21. ],
  22. "2fa_removed" => [
  23. "string" => "2fa removed",
  24. "type" => "success"
  25. ],
  26. "2fa_enabled" => [
  27. "string" => "2fa enabled",
  28. "type" => "success"
  29. ],
  30. "2fa_wrong_code" => [
  31. "string" => "2fa incorrect",
  32. "type" => "danger"
  33. ],
  34. "invalid_parameters" => [
  35. "string" => "invalid parameters",
  36. "type" => "danger"
  37. ],
  38. "password_500" => [
  39. "string" => "password on 500 list",
  40. "type" => "danger"
  41. ],
  42. "account_state_error" => [
  43. "string" => "account state error",
  44. "type" => "danger"
  45. ],
  46. "passwords_same" => [
  47. "string" => "old and new passwords match",
  48. "type" => "danger"
  49. ],
  50. "password_complexity" => [
  51. "string" => "password complexity insufficent",
  52. "type" => "danger"
  53. ],
  54. "generic_op_error" => [
  55. "string" => "generic op error",
  56. "type" => "danger"
  57. ],
  58. "pin_updated" => [
  59. "string" => "pin updated",
  60. "type" => "success"
  61. ],
  62. "new_pin_mismatch" => [
  63. "string" => "new pin mismatch",
  64. "type" => "danger"
  65. ],
  66. "invalid_pin_format" => [
  67. "string" => "invalid pin format",
  68. "type" => "danger"
  69. ],
  70. "notification_deleted" => [
  71. "string" => "Notification deleted.",
  72. "type" => "success"
  73. ],
  74. "feed_key_reset" => [
  75. "string" => "Feed key reset.",
  76. "type" => "success"
  77. ]
  78. ]);