identity: add support for toggling marketing consent

This commit is contained in:
Abdullah Atta committed 2023-06-08 12:54:57 +05:00
1 parent 5ca66f5819
commit 26703bfd8e
3 files changed
+24 -1

No files matched your search

@@ -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
{