-
- Downloads
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.
Showing
- src/account-server/accounthandler.cpp 35 additions, 28 deletionssrc/account-server/accounthandler.cpp
- src/account-server/storage.cpp 7 additions, 2 deletionssrc/account-server/storage.cpp
- src/common/manaserv_protocol.h 1 addition, 1 deletionsrc/common/manaserv_protocol.h
- src/sql/sqlite/createTables.sql 2 additions, 2 deletionssrc/sql/sqlite/createTables.sql
- src/sql/sqlite/updates/update_26_to_27.sql 61 additions, 0 deletionssrc/sql/sqlite/updates/update_26_to_27.sql
Loading
Please register or sign in to comment