auth: add recovery and account security
This commit is contained in:
@@ -57,10 +57,11 @@ type Session struct {
|
||||
}
|
||||
|
||||
type User struct {
|
||||
ID string `json:"id"`
|
||||
Username string `json:"username"`
|
||||
PasswordHash string `json:"password_hash"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
ID string `json:"id"`
|
||||
Username string `json:"username"`
|
||||
PasswordHash string `json:"password_hash"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
RecoveryKeyHash string `json:"recovery_key_hash"`
|
||||
}
|
||||
|
||||
type WatchListEntry struct {
|
||||
|
||||
Reference in New Issue
Block a user