This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
更改:登录成功之后清除失败次数
pull/343/head
yystopf
3 years ago
parent
05b3317152
commit
844d121c7f
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
app/controllers/accounts_controller.rb
+ 2
- 1
app/controllers/accounts_controller.rb
View File
@@ -207,7 +207,8 @@ class AccountsController < ApplicationController
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
Write
Preview
Loading…
Cancel
Save