Modify

Opened 5 years ago

Closed 5 years ago

#20806 closed defect (worksforme)

KeyError: 'token'

Reported by: APatrito Owned by: stoecker
Priority: normal Milestone:
Component: Trac Version:
Keywords: Cc:

Description

Come riprodurre il problema

Effettuando un'operazione "GET" su /verify_email, Trac ha
generato un errore interno.

(per favore aggiungi ulteriori dettagli qui di seguito)

Parametri della request:

{u'am': u'', u'verify': u'1'}

User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36

Informazioni sul sistema

Informazioni di sistema non disponibili

Componenti aggiuntivi abilitati

Informazioni sui prodotti aggiuntivi non disponibili

Personalizzazione interfaccia

Informazioni sulla personalizzazione dell'interfaccia non disponibili

Traceback di Python

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 623, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 239, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/acct_mgr/register.py", line 636, in process_request
    if req.args['token'] == req.session['email_verification_token']:
KeyError: 'token'

Attachments (0)

Change History (3)

comment:1 by skyper, 5 years ago

Ticket #20807 has been marked as a duplicate of this ticket.

comment:2 by skyper, 5 years ago

Component: CoreTrac
Owner: changed from team to stoecker

comment:3 by stoecker, 5 years ago

Resolution: worksforme
Status: newclosed

You're trying to use an invalid verification link missing the token. Check whether your mail provider strips the correct URL or some browser script or similar and register with the correct link. The URL must look like "/verify_email?verify=1&token=12345678" and not like "/verify_email?verify=1&am" which is what you're using.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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