aa691dbc09
We were using verify_token="" to mean that the user was verified. We need a unique constraint on verify_token to prevent two users from getting the same verify link in their email. This means that if we have two verified users, they will both have verify_token="", which triggers the unique constraint. Oops. However, null is an exception to unique constraints, so we're now using that instead to mean verified. |
||
---|---|---|
.. | ||
account_test.go | ||
auth_test.go | ||
password_test.go | ||
store.go | ||
store_test.go | ||
wallet_test.go |