A platform for community discussion. Free, open, simple.
Remove `cas` oauth login method that is no longer used.
Guo Xiang Tan50eb582fb207
diff --git a/app/assets/javascripts/discourse/models/login-method.js.es6 b/app/assets/javascripts/discourse/models/login-method.js.es6index c125e7bd831..509fe402074 100644--- a/app/assets/javascripts/discourse/models/login-method.js.es6+++ b/app/assets/javascripts/discourse/models/login-method.js.es6@@ -27,7 +27,14 @@ export function findAll(siteSettings, capabilities, isMobileDevice) {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"]) {const params = { name };if (name === "google_oauth2") {