mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Add password_confirmation to admin users #2646
This commit is contained in:
parent
a262e1e708
commit
eaaf8b39f9
1 changed files with 1 additions and 1 deletions
|
@ -57,6 +57,6 @@ class Admin::AdminUsersController < AdminController
|
|||
end
|
||||
|
||||
def admin_user_params
|
||||
params.require(:admin_user).permit(:username, :password, :identity_code, :email, :country_code, { roles: [] })
|
||||
params.require(:admin_user).permit(:username, :password, :password_confirmation, :identity_code, :email, :country_code, { roles: [] })
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue