captcha\CaptchaAction $fixedVerifyCode

$fixedVerifyCode public property

The fixed verification code. When this property is set, getVerifyCode() will always return the value of this property. This is mainly used in automated tests where we want to be able to reproduce the same verification code each time we run the tests. If not set, it means the verification code will be randomly generated.

public string $fixedVerifyCode = null
doc_Yii
2016-10-30 16:54:24
Comments
Leave a Comment

Please login to continue.