Prevent signin without hosted domain

This commit is contained in:
Tom Moor
2018-05-28 22:32:36 -07:00
parent 25aa1f288b
commit aa9ed09f08
6 changed files with 25 additions and 2 deletions

View File

@ -71,6 +71,7 @@ router.get('/', async ctx => {
await renderpage(
ctx,
<Home
notice={ctx.request.query.notice}
lastSignedIn={lastSignedIn}
googleSigninEnabled={!!process.env.GOOGLE_CLIENT_ID}
slackSigninEnabled={!!process.env.SLACK_KEY}