remove identity for admins user

This commit is contained in:
chenjing
2023-03-16 16:48:00 +08:00
parent c65896c11d
commit bd110bac00
4 changed files with 4 additions and 31 deletions

View File

@@ -64,8 +64,8 @@ class Admins::UsersController < Admins::BaseController
end
def update_params
params.require(:user).permit(%i[lastname nickname gender identity technical_title student_id is_shixun_marker
mail phone location location_city school_id department_id admin business is_test
password professional_certification authentication login])
params.require(:user).permit(%i[lastname nickname gender technical_title is_shixun_marker
mail phone location location_city school_id department_id admin
password login])
end
end