Remove cas oauth login method that is no longer used.

This commit is contained in:
Guo Xiang Tan 2018-03-02 13:45:55 +08:00
parent d39d2b9352
commit 50eb582fb2

View File

@ -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") {