Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #834 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

0.9a5 identity fails when not Anonymous and not in_group

Reported by: rune.hansen@… Owned by: anonymous
Priority: normal Milestone: 0.9a6
Component: Identity Version: 0.9a5
Severity: normal Keywords:


controllers.py / root.py

I suggest that the line:

"if not identity.current.anonymous and identity.was_login_attempted():"

of method "login" is changed to:

"if not identity.current.anonymous and identity.was_login_attempted() and not identity.get_identity_errors():"

to prevent

"if not identity.current.anonymous and identity.was_login_attempted():

raise redirect(forward_url)"

becoming True and attempting to perform redirect on a None object.

Reference:  http://groups.google.com/group/turbogears/tree/browse_frm/thread/549ba9b58f4ae4d5/3dc411c17f6391de?rnum=1&_done=%2Fgroup%2Fturbogears%2Fbrowse_frm%2Fthread%2F549ba9b58f4ae4d5%2F3dc411c17f6391de%3F#doc_1708802eeedea461

Change History

comment:1 Changed 13 years ago by kevin

  • Milestone changed from 1.0b1 to 0.9a6

comment:2 Changed 13 years ago by kevin

  • Status changed from new to closed
  • Resolution set to fixed

Done in [1382]

Note: See TracTickets for help on using tickets.