Closed levz0r closed 3 years ago
In a case of anonymous poll answer, the form object is undefined, therefor we can't rely on the id in it. When this happens, skip saveSession().
Worth mentioning that if the next middleware relies on ctx.session, it will fail. Therefor, it is developers' responsibility to check ctx.session for existance.
In a case of anonymous poll answer, the form object is undefined, therefor we can't rely on the id in it. When this happens, skip saveSession().