Removed instantiating of Answer field in NewDwellingCaptcha().

This commit is contained in:
Alexander Andreev 2022-06-27 00:44:42 +04:00
parent 9ed5ad42e2
commit 6307433ea0
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 0 additions and 1 deletions

View File

@ -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)}}
}