Leonid Nikitin
8ccbd5000d
This commit adds a check to the `destroy` method in the `CaptchaTokenService`. It uses the `Helpers::isDemoModeAndUserDenyUpdate` function to prevent users from deleting tokens while the application is in demo mode. This was added to protect the application's state during presentations or demos. |
||
---|---|---|
.. | ||
Api/V1 | ||
Captcha | ||
CaptchaLog | ||
CaptchaToken | ||
GenerateTokenCommand | ||
Private | ||
Role | ||
Search | ||
User | ||
AuthService.php | ||
CryptographyString.php | ||
Service.php |