Refactor user email confirmation + password reset handling #919

Merged
konrad merged 11 commits from feature/email-confirmation into main 2021-07-13 20:56:02 +00:00
Showing only changes of commit 1195c9b243 - Show all commits

View File

@ -56,7 +56,7 @@ func init() {
}
users := []*user20210711173657{}
err = tx.Where(`password_reset_token != "" OR email_confirm_token != ""`).Find(&users)
err = tx.Where(`password_reset_token != '' OR email_confirm_token != ''`).Find(&users)
if err != nil {
return err
}