本地版去掉三方登录
This commit is contained in:
parent
c64f241cf8
commit
07696682ca
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue