From 31d7b476bf94c9f78bfdf9990a28e94c348e24e9 Mon Sep 17 00:00:00 2001 From: Miha0809 Date: Sat, 6 Apr 2024 14:35:39 +0200 Subject: [PATCH] Send email confirm --- Delivery/Models/ConfirmEmail.cs | 3 ++- Delivery/Models/ForgotPassword.cs | 2 +- Delivery/Models/ResendConfirmationEmail.cs | 2 +- Delivery/Models/ResetPassword.cs | 4 +++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Delivery/Models/ConfirmEmail.cs b/Delivery/Models/ConfirmEmail.cs index 24bfce6..c2df70e 100644 --- a/Delivery/Models/ConfirmEmail.cs +++ b/Delivery/Models/ConfirmEmail.cs @@ -2,5 +2,6 @@ namespace Delivery.Models; public class ConfirmEmail { - + public string UserId { get; set; } + public string Token { get; set; } } \ No newline at end of file diff --git a/Delivery/Models/ForgotPassword.cs b/Delivery/Models/ForgotPassword.cs index 304233d..bb94250 100644 --- a/Delivery/Models/ForgotPassword.cs +++ b/Delivery/Models/ForgotPassword.cs @@ -2,5 +2,5 @@ namespace Delivery.Models; public class ForgotPassword { - + public string Email { get; set; } } \ No newline at end of file diff --git a/Delivery/Models/ResendConfirmationEmail.cs b/Delivery/Models/ResendConfirmationEmail.cs index c898907..bae849c 100644 --- a/Delivery/Models/ResendConfirmationEmail.cs +++ b/Delivery/Models/ResendConfirmationEmail.cs @@ -2,5 +2,5 @@ namespace Delivery.Models; public class ResendConfirmationEmail { - + public string Email { get; set; } } \ No newline at end of file diff --git a/Delivery/Models/ResetPassword.cs b/Delivery/Models/ResetPassword.cs index 1c6223f..1ee8845 100644 --- a/Delivery/Models/ResetPassword.cs +++ b/Delivery/Models/ResetPassword.cs @@ -2,5 +2,7 @@ namespace Delivery.Models; public class ResetPassword { - + public string UserId { get; set; } + public string Token { get; set; } + public string NewPassword { get; set; } } \ No newline at end of file