New login screen (#1331)
* wip * feat: first draft of auth.config * chore: auth methodS * chore: styling * styling, styling, styling * feat: Auth notices * chore: Remove server-rendered pages, move shared/components -> components * lint * cleanup * cleanup * fix: Remove unused component * fix: Ensure env variables in prod too * style tweaks * fix: Entering SSO email into login form fails fix: Tweak language around guest signin
This commit is contained in:
@ -4,7 +4,7 @@ import { User, Event, Team } from "../models";
|
||||
import mailer from "../mailer";
|
||||
import { sequelize } from "../sequelize";
|
||||
|
||||
type Invite = { name: string, email: string, guest: boolean };
|
||||
type Invite = { name: string, email: string };
|
||||
|
||||
export default async function userInviter({
|
||||
user,
|
||||
@ -77,7 +77,6 @@ export default async function userInviter({
|
||||
await mailer.invite({
|
||||
to: invite.email,
|
||||
name: invite.name,
|
||||
guest: invite.guest,
|
||||
actorName: user.name,
|
||||
actorEmail: user.email,
|
||||
teamName: team.name,
|
||||
|
Reference in New Issue
Block a user