Get password auth working.

This commit is contained in:
2026-03-20 17:41:19 -05:00
parent 81e6a5aaa6
commit a8bb610be7
6 changed files with 57 additions and 58 deletions

View File

@@ -8,7 +8,7 @@ export default function UseSendProvider(config: EmailUserConfig): EmailConfig {
id: 'usesend',
type: 'email',
name: 'UseSend',
from: 'Study Buddy <admin@techtracker.gbrown.org>',
from: 'Convex Monorepo <admin@convexmonorepo.gbrown.org>',
maxAge: 24 * 60 * 60, // 24 hours
async generateVerificationToken() {
@@ -23,7 +23,7 @@ export default function UseSendProvider(config: EmailUserConfig): EmailConfig {
async sendVerificationRequest(params) {
const { identifier: to, provider, url, theme, token } = params;
//const { host } = new URL(url);
const host = 'TechTracker';
const host = 'Convex Monorepo';
const useSend = new UseSend(
process.env.USESEND_API_KEY!,