Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
src /
UserBundle /
Form /
Type /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
UserForgotPwType.php
2.69
KB
-rwxrwxr-x
2026-04-02 12:06
UserMyDetailsType.php
4.69
KB
-rwxrwxr-x
2026-04-02 12:06
UserRegisterType.php
14.13
KB
-rwxrwxr-x
2026-04-02 12:06
UserResetPwType.php
5.4
KB
-rwxrwxr-x
2026-04-02 12:06
php_errors.log
1.26
KB
-rwxrwxr-x
2026-04-02 12:06
Save
Rename
<?php namespace App\UserBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\OptionsResolver\OptionsResolverInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\Extension\Core\Type\RepeatedType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Validator\Constraints\Length; use Symfony\Component\Validator\Constraints\NotBlank; use Symfony\Component\Validator\Constraints\Email; use Symfony\Component\Validator\Constraints\Regex; use Symfony\Component\Form\FormEvents; use Symfony\Component\Form\FormEvent; use Symfony\Component\Form\FormError; use EWZ\Bundle\RecaptchaBundle\Form\Type\EWZRecaptchaV3Type; class UserResetPwType extends AbstractType { private $serviceContainer = null; public function __construct(ContainerInterface $serviceContainer) { $this->serviceContainer = $serviceContainer; } public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add( 'password', RepeatedType::class, array( 'first_name' => 'password', 'second_name' => 'confirm', 'type' => PasswordType::class, 'first_options' => array( 'attr' => array('placeholder' => 'Password', 'class' => 'form-control'), 'label' => 'Password: *', 'constraints' => array( new NotBlank(), new Length(array('min' => 6, 'max' => 255)), new Regex( array( 'pattern' => '#[0-9]+#', 'message' => 'Your password must contain a number', 'match' => true ) ), new Regex( array( 'pattern' => '#[A-Z]+#', 'message' => 'Your password must contain a uppercase character', 'match' => true ) ), new Regex( array( 'pattern' => '#[a-z]+#', 'message' => 'Your password must contain a lowercase character', 'match' => true ) ), ), ), 'second_options' => array( 'attr' => array( 'placeholder' => 'Confirm password', 'class' => 'form-control' ), 'label' => 'Confirm Password: *', 'constraints' => array( new NotBlank(), new Length(array('min' => 6, 'max' => 255)), new Regex( array( 'pattern' => '#[0-9]+#', 'message' => 'Your password must contain a number', 'match' => true ) ), new Regex( array( 'pattern' => '#[A-Z]+#', 'message' => 'Your password must contain a uppercase character', 'match' => true ) ), new Regex( array( 'pattern' => '#[a-z]+#', 'message' => 'Your password must contain a lowercase character', 'match' => true ) ), ), ), 'invalid_message' => 'Password and Confirm Password values do not match' ) ) ->add( 'reset_code', TextType::class, array( 'attr' => array('placeholder' => 'Type the reset code', 'class' => 'form-control'), 'label' => 'Reset code: *' ) ) ->add( 'captcha', CaptchaType::class, array( 'attr' => array('placeholder' => 'Type the characters in the image'), 'label' => 'Image characters: *' ) ); $builder->remove('captcha') ->add( 'captcha', EWZRecaptchaV3Type::class, array( 'mapped' => false, ) ) ; } public function getParent() { return \Symfony\Component\Form\Extension\Core\Type\FormType::class; } public function getName() { return 'user_reset_pw'; } public function setDefaultOptions(OptionsResolverInterface $resolver) { } }