diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2023-05-16 16:45:39 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2023-05-16 17:00:12 +0200 |
commit | 1f7c7fa192907d90a0ef6bbfbfe770a1e2fffa08 (patch) | |
tree | 3147f28b2752a0bb66e85892a70b23ded80ff8e6 /src/account-server/accountclient.h | |
parent | 7e0e3c6aedbd748a0a95cbf5db5ca15a4f625c88 (diff) | |
download | manaserv-1f7c7fa192907d90a0ef6bbfbfe770a1e2fffa08.tar.gz manaserv-1f7c7fa192907d90a0ef6bbfbfe770a1e2fffa08.tar.bz2 manaserv-1f7c7fa192907d90a0ef6bbfbfe770a1e2fffa08.tar.xz manaserv-1f7c7fa192907d90a0ef6bbfbfe770a1e2fffa08.zip |
Allow account email to be null in the database
When using login with Stellar, the email address remains empty. This was
causing issues since the email is also required to be unique, in effect
only a single Stellar account could exist.
Resolved this by allowing the email column to be null, since the unique
requirement does not cover null values. An empty email will now be
stored as null value.
For non-Stellar logins, an email address is still required.
Diffstat (limited to 'src/account-server/accountclient.h')
0 files changed, 0 insertions, 0 deletions