#818: implement site_secret in passwords
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 1.1
Component: Identity | Version: 0.9a5
Severity: trivial | Resolution:
Keywords: |
--------------------------------+-------------------------------------------
Comment (by godoy):
This isn't backwards compatible, though:
{{{
>>> print "%s" % None
None
>>> print "-%s-" % None
-None-
>>> print "%s%s" % ('string', None)
stringNone
>>>
}}}
If one applies this, then all passwords that are hashed will have to be
reset because of the concatenation with the string "None".
To make it backwards compatible, replace {{{None}}} by {{{''}}}
transforming
{{{
get( "identity.saprovider.site_secret", None )
}}}
into
{{{
get("identity.saprovider.site_secret", "")
}}}
{{{
>>> print "%s%s" % ('string', '')
string
>>>
}}}
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/818>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---