This commit is contained in:
vilet.yy 2021-04-02 18:24:20 +08:00
parent 8c5a834b14
commit 91f6dae56a
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ class UsersController < ApplicationController
interactor = Gitea::User::UpdateInteractor.call(user.login, sync_params)
if interactor.success?
user.update!(password: params[:password], mail: params[:email], status: User::STATUS_EDIT_INFO)
user.update!(password: params[:password], mail: params[:email], status: User::STATUS_ACTIVE)
render_ok
else
render_error(interactor.error)