UpdateLastSignInAt update field last_sign_in_at for user according to specified field
(tx *storage.Connection)
| 477 | |
| 478 | // UpdateLastSignInAt update field last_sign_in_at for user according to specified field |
| 479 | func (u *User) UpdateLastSignInAt(tx *storage.Connection) error { |
| 480 | return tx.UpdateOnly(u, "last_sign_in_at") |
| 481 | } |
| 482 | |
| 483 | // ConfirmEmailChange confirm the change of email for a user |
| 484 | func (u *User) ConfirmEmailChange(tx *storage.Connection, status int) error { |
no test coverage detected