mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-08 14:11:42 +08:00
fix: profile completed
This commit is contained in:
@@ -280,7 +280,7 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
# 资料是否完善
|
||||
def check_account
|
||||
if !current_user.profile_completed?
|
||||
if !current_user. profile_is_completed?
|
||||
#info_url = '/account/profile'
|
||||
tip_exception(402, nil)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user