wallet-sync-server/store
Daniel Krol aa691dbc09 Use verify_token=null as verified to avoid unique constraint
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.
2022-08-13 22:15:19 -04:00
..
account_test.go Use verify_token=null as verified to avoid unique constraint 2022-08-13 22:15:19 -04:00
auth_test.go Use verify_token=null as verified to avoid unique constraint 2022-08-13 22:15:19 -04:00
password_test.go Use verify_token=null as verified to avoid unique constraint 2022-08-13 22:15:19 -04:00
store.go Use verify_token=null as verified to avoid unique constraint 2022-08-13 22:15:19 -04:00
store_test.go Use verify_token=null as verified to avoid unique constraint 2022-08-13 22:15:19 -04:00
wallet_test.go Use verify_token=null as verified to avoid unique constraint 2022-08-13 22:15:19 -04:00