comment user.current

This commit is contained in:
zhangxunhui 2023-01-30 21:35:22 +08:00
parent 81685f88cd
commit d9a0b34cb8
1 changed files with 3 additions and 3 deletions

View File

@ -95,8 +95,8 @@ class ApplicationController < ActionController::Base
elsif type.to_i == 3 && user_exist
tip_exception(-2, "该手机号码或邮箱已绑定")
end
render_ok
end
render_okr
# end
# 发送及记录激活码
# 发送验证码type 1注册手机验证码 2找回密码手机验证码 3找回密码邮箱验证码 4绑定手机 5绑定邮箱
@ -367,7 +367,7 @@ class ApplicationController < ActionController::Base
# RSS key authentication does not start a session
User.find_by_rss_key(params[:key])
end
User.current = User.find(2) # need to remove this statement before running in production
# User.current = User.find(2) # need to remove this statement before running in production
end
def user_trace_log