Browse Source

FIX gug

tags/v3.0.3
jasder 5 years ago
parent
commit
5752f19b2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/users_controller.rb

+ 1
- 1
app/controllers/users_controller.rb View File

@@ -242,7 +242,7 @@ class UsersController < ApplicationController
password: params[:password]
}
Users::UpdateInfoForm.new(sync_params).validate!
Users::UpdateInfoForm.new(sync_params.merge(login: params[:login])).validate!
interactor = Gitea::User::UpdateInteractor.call(user.login, sync_params)
if interactor.success?


Loading…
Cancel
Save