@@ -91,11 +91,6 @@ class ModuleOptions extends AbstractOptions implements UserControllerOptionsInte
91
91
*/
92
92
protected $ enableDisplayName = false ;
93
93
94
- /**
95
- * @var bool
96
- */
97
- protected $ useRegistrationFormCaptcha = false ;
98
-
99
94
/**
100
95
* @var int
101
96
*/
@@ -107,17 +102,6 @@ class ModuleOptions extends AbstractOptions implements UserControllerOptionsInte
107
102
108
103
protected $ tableName = 'user ' ;
109
104
110
- /**
111
- * @var array
112
- */
113
- protected $ formCaptchaOptions = array (
114
- 'class ' => 'figlet ' ,
115
- 'options ' => array (
116
- 'wordLen ' => 5 ,
117
- 'expiration ' => 300 ,
118
- 'timeout ' => 300 ,
119
- ),
120
- );
121
105
122
106
/**
123
107
* set login redirect route
@@ -449,28 +433,6 @@ public function getEnableDisplayName()
449
433
return $ this ->enableDisplayName ;
450
434
}
451
435
452
- /**
453
- * set use a captcha in registration form
454
- *
455
- * @param bool $useRegistrationFormCaptcha
456
- * @return ModuleOptions
457
- */
458
- public function setUseRegistrationFormCaptcha ($ useRegistrationFormCaptcha )
459
- {
460
- $ this ->useRegistrationFormCaptcha = $ useRegistrationFormCaptcha ;
461
- return $ this ;
462
- }
463
-
464
- /**
465
- * get use a captcha in registration form
466
- *
467
- * @return bool
468
- */
469
- public function getUseRegistrationFormCaptcha ()
470
- {
471
- return $ this ->useRegistrationFormCaptcha ;
472
- }
473
-
474
436
/**
475
437
* set user entity class name
476
438
*
@@ -534,26 +496,4 @@ public function getTableName()
534
496
{
535
497
return $ this ->tableName ;
536
498
}
537
-
538
- /**
539
- * set form CAPTCHA options
540
- *
541
- * @param array $formCaptchaOptions
542
- * @return ModuleOptions
543
- */
544
- public function setFormCaptchaOptions ($ formCaptchaOptions )
545
- {
546
- $ this ->formCaptchaOptions = $ formCaptchaOptions ;
547
- return $ this ;
548
- }
549
-
550
- /**
551
- * get form CAPTCHA options
552
- *
553
- * @return array
554
- */
555
- public function getFormCaptchaOptions ()
556
- {
557
- return $ this ->formCaptchaOptions ;
558
- }
559
499
}
0 commit comments