Browse Source

fix

pull/343/head
yystopf 3 years ago
parent
commit
1e3fd4dfbc
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

@@ -205,9 +205,9 @@ class AccountsController < ApplicationController
return
end

LimitForbidControl::UserLogin.new(@user).clear
successful_authentication(@user)
sync_pwd_to_gitea!(@user, {password: params[:password].to_s}) # TODO用户密码未同步
LimitForbidControl::UserLogin.new(user).clear
# session[:user_id] = @user.id
end


Loading…
Cancel
Save