mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Remove cas
oauth login method that is no longer used.
This commit is contained in:
parent
d39d2b9352
commit
50eb582fb2
@ -27,7 +27,14 @@ export function findAll(siteSettings, capabilities, isMobileDevice) {
|
|||||||
|
|
||||||
methods = [];
|
methods = [];
|
||||||
|
|
||||||
[ "google_oauth2", "facebook", "cas", "twitter", "yahoo", "instagram", "github" ].forEach(name => {
|
[
|
||||||
|
"google_oauth2",
|
||||||
|
"facebook",
|
||||||
|
"twitter",
|
||||||
|
"yahoo",
|
||||||
|
"instagram",
|
||||||
|
"github"
|
||||||
|
].forEach(name => {
|
||||||
if (siteSettings["enable_" + name + "_logins"]) {
|
if (siteSettings["enable_" + name + "_logins"]) {
|
||||||
const params = { name };
|
const params = { name };
|
||||||
if (name === "google_oauth2") {
|
if (name === "google_oauth2") {
|
||||||
|
Loading…
Reference in New Issue
Block a user