mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-10 23:09:51 +08:00
FIX local bug
This commit is contained in:
@@ -127,6 +127,8 @@ module LoginHelper
|
||||
token = config[:sync_token]
|
||||
api_host = config[:sync_url]
|
||||
|
||||
return if api_host.blank?
|
||||
|
||||
url = "#{api_host}/api/v1/users/sync_user_token"
|
||||
sync_json = {
|
||||
"token": token,
|
||||
|
||||
Reference in New Issue
Block a user