Browse Source

FIX bug

tags/v1
Jasder 6 years ago
parent
commit
75f5b3827c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/accounts_controller.rb

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

@@ -206,7 +206,7 @@ class AccountsController < ApplicationController
successful_authentication(@user)
# TODO用户密码未同步
Gitea::User::UpdateInteractor.call(@user.login, {email: @user.mail, password: password.to_s}) unless @user.is_sync_pwd?
Gitea::User::UpdateInteractor.call(@user.login, {email: @user.mail, password: params[:password].to_s}) unless @user.is_sync_pwd?
# session[:user_id] = @user.id
end


Loading…
Cancel
Save