incubator-heraldry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Recordon (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HERALDRY-5) [PATCH] 403 unauthorized when clicking on 'resend confirmation e-mail'
Date Fri, 02 Mar 2007 19:30:50 GMT

     [ https://issues.apache.org/jira/browse/HERALDRY-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Recordon resolved HERALDRY-5.
-----------------------------------

    Resolution: Fixed
      Assignee: David Recordon

154:~/Desktop/pip/trunk/app/views/account drecordon$ svn ci _email_verification.rhtml 
Sending        _email_verification.rhtml
Transmitting file data .
Committed revision 513902.

> [PATCH] 403 unauthorized when clicking on 'resend confirmation e-mail'
> ----------------------------------------------------------------------
>
>                 Key: HERALDRY-5
>                 URL: https://issues.apache.org/jira/browse/HERALDRY-5
>             Project: Heraldry
>          Issue Type: Bug
>          Components: PIP
>            Reporter: Ward Vandewege
>         Assigned To: David Recordon
>
> When clicking on the 'resend confirmation e-mail' from 'My Profile', one gets a 403 error
because the click is transformed into a POST, without passing in the session_id_validation
parameter.
> The following patch fixes this problem. Please apply it!
> Thanks,
> Ward.
> Index: _email_verification.rhtml
> ===================================================================
> --- _email_verification.rhtml   (revision 509879)
> +++ _email_verification.rhtml   (working copy)
> @@ -25,7 +25,7 @@
>          <h2><%= current_user.email %></h2><br />
>        <p>A confirmation e-mail has been sent to your e-mail address. Your account
will not be verified until you respond to that message.</p>
>        <br />
> -      <%= link_to "Resend confirmation e-mail", account_url(:action => 'resend_confirmation'),
:post => true, :class => 'white' %>
> +      <%= link_to "Resend confirmation e-mail", { :controller => 'account', :action
=> 'resend_confirmation', :session_id_validation => security_token } , :post => true,
:class => 'white' %>
>      </div>
>      <div class='rbbot3'>
>        <div></div>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message