users: remove confirmation when changing username.
This commit is contained in:
@@ -10,6 +10,6 @@ class UserNameChangeRequestPolicy < ApplicationPolicy
|
||||
end
|
||||
|
||||
def permitted_attributes
|
||||
[:desired_name, :desired_name_confirmation]
|
||||
[:desired_name]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user