Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

#12336 closed defect (cantfix)

User sees Captcha after successful registration

Reported by: anonymous Owned by: Dirk Stöcker
Priority: normal Milestone:
Component: plugin/spamfilter Version:
Severity: normal Keywords:
Cc: michi.schwarz@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Michael Schwarz <michi.schwarz@…>)

The AccountManagerPlugin seems to be responsible for the described issue. Thus I opened a ticket on Trac Hacks. This is the original text:

I've found a sequence of steps a user might follow when registering a new account using the AccountManagerPlugin where the user ends up on the /captcha resource after the first login. This may lead the user to believe that they need to solve another captcha, even though it is not required. I think this may confuse the user (it did that to me, when testing a newly set up instance).

I've set up a new instance with Trac 1.0.2 and installed TracAccountManager 0.4.3 and TracSpamFilter 1.0.6dev (the former two are provided by Debian 8.3). I've configured the AccountManagerPlugin to require Email verification as well as a captcha to be solved for new registrations:

[account-manager]
register_check = BasicCheck, EmailCheck, RegExpCheck, UsernamePermCheck, RegistrationFilterAdapter

I've configured the TracSpamFilter to always require a captcha by setting Karma assigned to registering users to -1 and By how many points a successful CAPTCHA response increases the overall score to 1.

Now, a new user might follow the following steps:

  1. Click on register in the metanav.
    • This opens /register.
  2. Enter a user name, password an email address and click on Create account.
    • This opens /captcha and displays Submission rejected as potential spam as the error message.
  3. The user solves the captcha correctly and clicks on Submit.
    • This opens /login and displays the message Your username has been successfully registered but your account still requires activation. Please login as user test7, and follow the instructions.
  4. The user enters their login data and clicks Login.
    • This logs the user in and redirects them back to /captcha. At the top the message An email has been sent to with a token to verify your new email address is displayed while at the bottom a captcha is displayed.

At this point, the user might be convinced that they need to solve the displayed captcha. But solving the captcha will just display another one.

Is there a way to change the interaction of TracAccountManager and TracSpamFilter to e.g. display the /wiki resource when following an account creation directly by logging in?

Attachments (0)

Change History (4)

comment:1 by Ryan J Ollos, 9 years ago

Milestone: plugin - spam-filter

comment:2 by Dirk Stöcker, 9 years ago

I believe this is not a spamfilter issue. The way AccountManager redirects after the captcha to /login causes a redirect to /captcha again after /login was fulfilled, as this is a default of login page. Login redirects to the site it was called from. Probably TracAccountManager should have a page inbetween, so this does not happen or it should try to keep the original user page, which probably is possible (I do this for Spamfilter as well, so it should work).

comment:3 by Michael Schwarz <michi.schwarz@…>, 9 years ago

Cc: michi.schwarz@… added
Description: modified (diff)

I agree, I was also thinking that ideally, after the registration completes, the user should be directed to the page where they were when the clicked the "Register" link. But I was not sure where the problem lies. I opened an issue for the AccountManagerPlugin.

comment:4 by Ryan J Ollos, 9 years ago

Milestone: plugin - spam-filter
Resolution: cantfix
Status: newclosed

Let's re-open if the issue is not with AccountManagerPlugin. Currently there is no maintainer for AccountManager, but I will investigate if I find time.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Dirk Stöcker.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Dirk Stöcker to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.