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
Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop
pull/347/head
xxq250
2 years ago
parent
c972d538ee
a2ca6bd91b
commit
835f2db759
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/controllers/accounts_controller.rb
+ 1
- 0
app/controllers/accounts_controller.rb
View File
@@ -222,6 +222,7 @@ class AccountsController < ApplicationController
end
def change_password
return render_error("两次输入的密码不一致") if params[:password].to_s != params[:new_password_repeat].to_s
@user = User.find_by(login: params[:login])
return render_error("此用户禁止修改密码!") if @user.id.to_i === 104691
return render_error("未找到相关用户!") if @user.blank?
Write
Preview
Loading…
Cancel
Save