backend.rb 364 B

12345678910111213141516171819202122
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class PasswordPolicy
  3. class Backend
  4. # @param password [String] to evaluate
  5. def initialize(password)
  6. @password = password
  7. end
  8. def valid?
  9. false
  10. end
  11. def error
  12. [__('Unknown error')]
  13. end
  14. def self.applicable?
  15. false
  16. end
  17. end
  18. end