Clean up.
This commit is contained in:
parent
60afbb18c0
commit
8c3f04e859
5 changed files with 26 additions and 27 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue