Removed instantiating of Answer field in NewDwellingCaptcha().
This commit is contained in:
parent
9ed5ad42e2
commit
6307433ea0
|
@ -22,7 +22,6 @@ type DwellingCaptcha struct {
|
|||
func NewDwellingCaptcha(expiry time.Duration) *DwellingCaptcha {
|
||||
return &DwellingCaptcha{
|
||||
Captcha: captcha.Captcha{
|
||||
Answer: captcha.GenerateAnswer(),
|
||||
ExpireIn: captcha.ExpiryDate(expiry)}}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue