mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -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 = [];
|
||||
|
||||
[ "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") {
|
||||
|
Loading…
Reference in New Issue
Block a user