mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
change the order in which the password challenge is performed (#4439)
this will force the user to always perform the challenge, meaning no information on the account is leaked in case of failures
This commit is contained in:
parent
bbbf3e2a65
commit
6f360374cc
2 changed files with 78 additions and 63 deletions
|
|
@ -109,6 +109,10 @@ private:
|
|||
Response::ResponseCode cmdReloadConfig(const Command_ReloadConfig & /* cmd */, ResponseContainer & /*rc*/);
|
||||
Response::ResponseCode cmdAdjustMod(const Command_AdjustMod &cmd, ResponseContainer & /*rc*/);
|
||||
Response::ResponseCode cmdForgotPasswordRequest(const Command_ForgotPasswordRequest &cmd, ResponseContainer &rc);
|
||||
Response::ResponseCode continuePasswordRequest(const QString &userName,
|
||||
const QString &clientId,
|
||||
ResponseContainer &rc,
|
||||
bool challenged = false);
|
||||
Response::ResponseCode cmdForgotPasswordReset(const Command_ForgotPasswordReset &cmd, ResponseContainer &rc);
|
||||
Response::ResponseCode cmdForgotPasswordChallenge(const Command_ForgotPasswordChallenge &cmd,
|
||||
ResponseContainer &rc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue