fix github auth endpoints always being enabled even though not setup #7142

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2025-07-11 13:21:17 +01:00
parent 045fac4639
commit d820f7aee0

View File

@ -7691,7 +7691,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
const domainAuthStrategyConsts = { const domainAuthStrategyConsts = {
twitter: 1, twitter: 1,
google: 2, google: 2,
github: 3, github: 4,
reddit: 8, // Deprecated reddit: 8, // Deprecated
azure: 16, azure: 16,
oidc: 32, oidc: 32,