mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 03:53:26 -08:00
cmdRegisterAccount and cmdActivateAccount still called Servatrice_DatabaseInterface for username validation, user existence, the per-email account limit, ban checks, registration and activation, and cmdRegisterAccount issued the activation-email insert inline. Add addActivationEmail to Server_DatabaseInterface with a false default, implement it with the same statement and bind value, and let both commands ask the injected interface. Validation order and every response code are unchanged. |
||
|---|---|---|
| .. | ||
| docker | ||
| migrations | ||
| mysql-storage | ||
| resources | ||
| scripts | ||
| src | ||
| check_schema_version.sh | ||
| CMakeLists.txt | ||
| servatrice.desktop | ||
| servatrice.ini.example | ||
| servatrice.qrc | ||
| servatrice.rc | ||
| servatrice.sql | ||