feature: add password reset token endpoint to the admin panel (#2171)

* add password reset token endpoint to the admin panel

* add None check on token

* add localization message for passowrd reset link button
This commit is contained in:
Carter
2023-03-12 15:33:36 -05:00
committed by GitHub
parent 1b26ca0cb3
commit 93eb2af087
6 changed files with 52 additions and 1 deletions

View File

@@ -9,6 +9,10 @@ class ForgotPassword(MealieModel):
email: str
class PasswordResetToken(MealieModel):
token: str
class ValidateResetToken(MealieModel):
token: str