identity: add support for toggling marketing consent

This commit is contained in:
Abdullah Atta
2023-06-08 12:54:57 +05:00
parent 5ca66f5819
commit 26703bfd8e
3 changed files with 24 additions and 1 deletions
@@ -32,6 +32,12 @@ namespace Streetwriters.Identity.Models
get; set;
}
[BindProperty(Name = "enabled")]
public bool Enabled
{
get; set;
}
[BindProperty(Name = "old_password")]
public string OldPassword
{