mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-13 08:15:55 +08:00
本地版去掉三方登录
This commit is contained in:
@@ -63,6 +63,7 @@ class SettingsController < ApplicationController
|
||||
|
||||
def get_third_party
|
||||
@third_party = []
|
||||
return if EduSetting.get("is_local") == "true"
|
||||
@third_party << {
|
||||
name: 'educoder',
|
||||
url: EducoderOauth.oauth_url
|
||||
@@ -71,6 +72,7 @@ class SettingsController < ApplicationController
|
||||
|
||||
def get_third_party_new
|
||||
@third_party_new = []
|
||||
return if EduSetting.get("is_local") == "true"
|
||||
@third_party_new << {
|
||||
name: 'educoder',
|
||||
url: EducoderOauth.oauth_url,
|
||||
|
||||
Reference in New Issue
Block a user