- Implemented endpoints for forgot password and reset password - Added PasswordResetToken model and relationships - Integrated email service using Resend for sending reset links - Updated configuration for email and frontend URL - Enhanced user model to include password reset tokens - Added necessary schemas for password reset requests - Updated requirements to include Resend SDK - Created comprehensive documentation for the new feature
18 lines
451 B
Python
18 lines
451 B
Python
from app.models.user import User
|
|
from app.models.user_profile import UserProfile
|
|
from app.models.password_reset_token import PasswordResetToken
|
|
from app.models.business_type import BusinessType
|
|
from app.models.plan import Plan
|
|
from app.models.tenant import Tenant
|
|
from app.models.subscription import Subscription
|
|
|
|
__all__ = [
|
|
"User",
|
|
"UserProfile",
|
|
"PasswordResetToken",
|
|
"BusinessType",
|
|
"Plan",
|
|
"Tenant",
|
|
"Subscription",
|
|
]
|