update dependencies, correct breaking changes

This commit is contained in:
dhax 2018-10-14 18:12:12 +02:00
parent d1bc7ff05c
commit 9b27282ee3
4 changed files with 109 additions and 35 deletions

View file

@ -44,6 +44,7 @@ func (s *AuthStore) GetAccountByEmail(e string) (*pwdless.Account, error) {
func (s *AuthStore) UpdateAccount(a *pwdless.Account) error {
_, err := s.db.Model(a).
Column("last_login").
WherePK().
Update()
return err
}