Add GitHub auth

This commit is contained in:
Acid Chicken (硫酸鶏)
2018-11-04 19:17:30 +09:00
parent a0f10d7ca1
commit c146006476
14 changed files with 416 additions and 8 deletions

View File

@ -73,6 +73,7 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
recaptcha: config.recaptcha ? true : false,
objectStorage: config.drive && config.drive.storage === 'minio',
twitter: config.twitter ? true : false,
github: config.github ? true : false,
serviceWorker: config.sw ? true : false,
userRecommendation: config.user_recommendation ? config.user_recommendation : {}
} : undefined