summaryrefslogtreecommitdiff
path: root/src/account-server/accountclient.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2023-05-16 16:45:39 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2023-05-16 17:00:12 +0200
commit1f7c7fa192907d90a0ef6bbfbfe770a1e2fffa08 (patch)
tree3147f28b2752a0bb66e85892a70b23ded80ff8e6 /src/account-server/accountclient.cpp
parent7e0e3c6aedbd748a0a95cbf5db5ca15a4f625c88 (diff)
downloadmanaserv-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.cpp')
0 files changed, 0 insertions, 0 deletions