akkounts/app/services/ldap_manager/update_display_name.rb
Râu Cao f74227fedb
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Allow users to set/update their display name in LDAP
2023-05-27 19:59:49 +02:00

13 lines
250 B
Ruby

module LdapManager
class UpdateDisplayName < LdapManagerService
def initialize(dn, display_name)
@dn = dn
@display_name = display_name
end
def call
replace_attribute @dn, :displayName, @display_name
end
end
end