On return(form=auth())

session.flash has the 'Email sent' text

I have:

    {{if response.flash or session.flash:}}
    <div class="flash">{{=response.flash if response.flash else
session.flash}}</div>
    {{pass}}

in layout.html that is working with other messages, but somehow not here.

I put:

response.flash = {{=response.flash}}
session.flash={{=session.flash}}

in layout.html and after submitting the request_reset_password I see:

response.flash = session.flash=None

so something is munching session.flash.

On Fri, Jan 15, 2010 at 10:25 AM, Wes James <compte...@gmail.com> wrote:
> Seems to be working.  There is no doc string for
> request_reset_password and there is no "flash" message after putting
> in the email and submitting - to the regard "Email sent."
>
> I tried to find out why, I'll look some more with wingide.
>
> thx,
>
> -wes
>
> On Fri, Jan 15, 2010 at 9:44 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:
>> I just posted a new version in trunk.
>> I split the process in two actions "request_reset_password" and
>> "reset_password". This allows more customization and cleaner code.
>>
>> Would you please check it once more?
>>
>> Massimo
>>
>> On Jan 15, 10:17 am, Wes James <compte...@gmail.com> wrote:
>>> Massimo,
>>>
>>> I just tested the reset_password again and it is working fine.  I had
>>> some code to remove the /user/ part of some of your functions process.
>>>  I put it back in for reset_password and it is all working great.
>>> Thank you very much for getting this in to w2p!!
>>>
>>> -wes
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To post to this group, send email to web...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> web2py+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/web2py?hl=en.
>>
>>
>>
>>
>
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to