Browse Source

fix

tags/v3.0.3
vilet.yy 5 years ago
parent
commit
91f6dae56a
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

@@ -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)


Loading…
Cancel
Save