Skip to content

Commit

Permalink
Merge pull request OpenMS#36 from axelwalter/main
Browse files Browse the repository at this point in the history
Add note to captcha to disable ad blocker
  • Loading branch information
axelwalter authored Oct 16, 2023
2 parents 1c9d7c0 + fcb7436 commit f8b3cfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/captcha_.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def captcha_control():
col1, _ = st.columns(2)
with col1.form("captcha-form"):
#setup the captcha widget
st.info("Please enter the captcha as text. Note: If your captcha is not accepted, you might need to disable your ad blocker.")
image = ImageCaptcha(width=width, height=height)
data = image.generate(st.session_state['Captcha'])
st.image(data)
Expand Down

0 comments on commit f8b3cfa

Please sign in to comment.