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. |
||
---|---|---|
.. | ||
Captcha.php | ||
CaptchaLog.php | ||
CaptchaToken.php | ||
Role.php | ||
RolePermission.php | ||
User.php |