mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +02:00
Remove unneeded code
This commit is contained in:
parent
54be3995e6
commit
e6981e7e28
1 changed files with 0 additions and 4 deletions
|
@ -30,10 +30,6 @@ module Admin
|
|||
end
|
||||
|
||||
def update
|
||||
if params[:api_user][:plain_text_password].blank?
|
||||
params[:api_user].delete(:plain_text_password)
|
||||
end
|
||||
|
||||
@api_user.attributes = api_user_params
|
||||
|
||||
if @api_user.valid?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue