Merge pull request 'Add custom LDAP attributes to schema' (#181) from feature/custom_ldap_attributes into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #181 Reviewed-by: greg <greg@noreply.kosmos.org>
This commit was merged in pull request #181.
This commit is contained in:
@@ -27,7 +27,6 @@ Devise.setup do |config|
|
||||
config.ldap_auth_password_builder = Proc.new() { |new_password|
|
||||
salt = SecureRandom.hex(32)
|
||||
hashed_pw = Base64.strict_encode64(Digest::SHA512.digest(new_password + salt) + salt)
|
||||
puts '{SSHA512}' + hashed_pw
|
||||
'{SSHA512}' + hashed_pw
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user