diff options
-rw-r--r-- | db/account.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/db/account.go b/db/account.go index 6bf4239..0668016 100644 --- a/db/account.go +++ b/db/account.go @@ -34,9 +34,6 @@ func (ac *Account) CreateAccount(safe *SafeDB) error { ` err := safe.validate.Struct(ac) - if err == nil { - err = safe.validate.Struct(ac.Login) - } if err != nil { return err } |