2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2020-08-28 14:07:30 +00:00
|
|
|
class PasswordPolicy
|
|
|
|
class Backend
|
|
|
|
# @param password [String] to evaluate
|
|
|
|
def initialize(password)
|
|
|
|
@password = password
|
|
|
|
end
|
|
|
|
|
|
|
|
def valid?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
|
|
|
|
def error
|
|
|
|
['Unknown error']
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.applicable?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|