Language: Go
Label: safe
CWE: CWE-263 \u2014 Password Aging with Long Expiration
The product supports password aging, but the expiration period is too long.

Code:
func (cr *captchaRepo) DelCaptcha(ctx context.Context, key string) (err error) {
	err = cr.data.Cache.Del(ctx, key)
	if err != nil {
		log.Debug(err)
	}
	return nil
}