users: remove confirmation when changing username.

This commit is contained in:
evazion
2022-03-08 03:24:12 -06:00
parent 99479dfcf2
commit 5ce724f1e2
4 changed files with 3 additions and 5 deletions

View File

@@ -5,7 +5,6 @@ class UserNameChangeRequest < ApplicationRecord
belongs_to :approver, class_name: "User", optional: true
validate :not_limited, on: :create
validates :desired_name, user_name: true, confirmation: true, on: :create
validates :original_name, presence: true
validates :desired_name, presence: true