feat(backend): email registration
This commit is contained in:
parent
c77ee660ca
commit
13a0cac663
15 changed files with 120 additions and 82 deletions
|
@ -12,8 +12,7 @@ public class AccountCreationMailable(Config config, AccountCreationMailableView
|
|||
}
|
||||
}
|
||||
|
||||
public class AccountCreationMailableView
|
||||
public class AccountCreationMailableView : BaseView
|
||||
{
|
||||
public required string To { get; init; }
|
||||
public required string Code { get; init; }
|
||||
}
|
7
Foxnouns.Backend/Mailables/BaseView.cs
Normal file
7
Foxnouns.Backend/Mailables/BaseView.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace Foxnouns.Backend.Mailables;
|
||||
|
||||
public abstract class BaseView
|
||||
{
|
||||
public required string BaseUrl { get; init; }
|
||||
public required string To { get; init; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue