https://g.co/gemini/share/efbb15c8a358
// src/Form/Model/ChangePassword.php
namespace App\Form\Model;
use Symfony\Component\Security\Core\Validator\Constraints as SecurityAssert;
class ChangePassword
{
#[SecurityAssert\UserPassword(
message: 'Wrong value for your current password',
)]
protected string $oldPassword;Powered by Froala Editor