Clean up.

This commit is contained in:
mikestefanello 2025-04-13 09:32:43 -04:00
parent 60afbb18c0
commit 8c3f04e859
5 changed files with 26 additions and 27 deletions

View file

@ -20,6 +20,7 @@ type PasswordToken struct {
// Fields of the PasswordToken.
func (PasswordToken) Fields() []ent.Field {
return []ent.Field{
// TODO rename to Token
field.String("hash").
Sensitive().
NotEmpty(),