How to disable recaptcha after user is authenticated?
 

I'm using recaptcha so anonymous users can ask a question without the need to log in. It works nicely. But I want to disable recaptcha when the user is authenticated. It obviously doesn't work just to omit the form with request.user.is_authenticated()

Edit: Updated text to make it more clear.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Chesnaught's avatar
21
Chesnaught
asked 10 years ago, updated 10 years ago

Comments

In which part would you like to avoid recaptcha when logged in?

Evgeny's avatar Evgeny (10 years ago)

On the ask-page. Where the user asks a question. (Anonymous users must use recaptcha to ask a question)

Chesnaught's avatar Chesnaught (10 years ago)

Found out that as long as the user is "watched", recaptcha is required.

Chesnaught's avatar Chesnaught (10 years ago)
see more comments