mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: password resets
fix: frontend docker file chore: format via csharpier again
This commit is contained in:
@@ -43,6 +43,10 @@ namespace SharpbinV3.Server.Data
|
||||
.HasIndex(r => r.TokenHash)
|
||||
.IsUnique();
|
||||
|
||||
modelBuilder.Entity<User>()
|
||||
.HasIndex(u => u.Email)
|
||||
.IsUnique()
|
||||
.HasFilter("\"Email\" IS NOT NULL");
|
||||
|
||||
modelBuilder.Entity<UserTotp>()
|
||||
.HasOne(t => t.User)
|
||||
|
||||
Reference in New Issue
Block a user