Tethik / flask-session-captcha

A captcha implemention for flask
MIT License
24 stars 8 forks source link

Customize session key #29

Closed GuillaumeGomez closed 2 years ago

GuillaumeGomez commented 2 years ago

It's useful when running GUI tests to know what field to update in your session to make the captcha work. It also allows to prevent potential issue if this key ever changed in this package (unlikely but better safe than sorry :laughing: ).

PS: One unneeded .get() parameter was able to escape my previous update so I fixed it in the first commit.