api: move to atomic password reset

This commit is contained in:
Abdullah Atta authored and Abdullah Atta committed 2026-02-16 13:43:04 +05:00
1 parent b9385ae112
commit 9424afed68
11 files changed
+203 -83

No files matched your search

@@ -0,0 +1,24 @@
using System.ComponentModel.DataAnnotations;
namespace Notesnook.API.Models
{
public class ChangePasswordForm
{
public string? OldPassword
{
get; set;
}
[Required]
public required string NewPassword
{
get; set;
}
[Required]
public required UserKeys UserKeys
{
get; set;
}
}
}