login via magic link
This commit is contained in:
parent
9fe6a6beb1
commit
94a05b0433
22 changed files with 815 additions and 122 deletions
|
|
@ -3,7 +3,7 @@ package model
|
|||
import "time"
|
||||
|
||||
type User struct {
|
||||
ID uint64 `db:"id"`
|
||||
ID string `db:"id"`
|
||||
Email string `db:"email"`
|
||||
// Allow null for passwordless users
|
||||
PasswordHash *string `db:"password_hash"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue