mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 18:41:08 +02:00
fix(memoro/web): fix broken authService.forgotPassword reference + add auth URL to env example
- login page: replace authService.forgotPassword (never imported) with authStore.resetPassword - .env.example: add PUBLIC_MANA_CORE_AUTH_URL entries Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c6448a63bc
commit
ec0af64fd2
2 changed files with 6 additions and 2 deletions
|
|
@ -5,7 +5,11 @@
|
|||
PUBLIC_SUPABASE_URL=your-supabase-url
|
||||
PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
|
||||
|
||||
# Memoro Server (new Hono/Bun backend — replaces middleware)
|
||||
# Mana Auth Service URL (mana-core-auth)
|
||||
PUBLIC_MANA_CORE_AUTH_URL=http://localhost:3001
|
||||
PUBLIC_MANA_CORE_AUTH_URL_CLIENT=https://auth.mana.how
|
||||
|
||||
# Memoro Server (Hono/Bun backend)
|
||||
PUBLIC_MEMORO_SERVER_URL=http://localhost:3015
|
||||
|
||||
# Middleware Service URLs (legacy — kept during transition)
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@
|
|||
}
|
||||
|
||||
// Send password reset email
|
||||
const result = await authService.forgotPassword(email);
|
||||
const result = await authStore.resetPassword(email);
|
||||
|
||||
loading = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue