feat: add role-based frontend URL routing for password reset and email verification
Add separate frontend URL environment variables for student and instructor portals. Update password reset and email verification services to route users to the appropriate frontend based on their role (INSTRUCTOR vs STUDENT).
This commit is contained in:
parent
16322454b1
commit
bf5d939910
3 changed files with 23 additions and 8 deletions
|
|
@ -36,3 +36,6 @@ CORS_ORIGIN=http://localhost:3000
|
|||
# Rate Limiting
|
||||
RATE_LIMIT_WINDOW_MS=900000
|
||||
RATE_LIMIT_MAX_REQUESTS=100
|
||||
|
||||
FRONTEND_URL_STUDENT=http://localhost:3000
|
||||
FRONTEND_URL_INSTRUCTOR=http://localhost:3000
|
||||
Loading…
Add table
Add a link
Reference in a new issue