From 6307433ea0f7859a7d3ee1ed217675d6e54439fc Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 27 Jun 2022 00:44:42 +0400 Subject: [PATCH] Removed instantiating of Answer field in NewDwellingCaptcha(). --- internal/captcha/dwelling_captcha.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/captcha/dwelling_captcha.go b/internal/captcha/dwelling_captcha.go index 58419ec..5877f93 100644 --- a/internal/captcha/dwelling_captcha.go +++ b/internal/captcha/dwelling_captcha.go @@ -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)}} }