forked from Gitlink/forgeplus
fix: profile completed
This commit is contained in:
parent
a825271a36
commit
60720c309f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue