Skip to content

Commit

Permalink
Fixes signup with password not displaying anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric de Villamil committed Oct 17, 2009
1 parent 1fbbb06 commit c25cfb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/accounts_controller.rb
Expand Up @@ -51,7 +51,7 @@ def signup
if @user.save
self.current_user = @user
session[:user_id] = @user.id
redirect_to :controller => "accounts", :action => "confirm", :password => params[:password]
redirect_to :controller => "accounts", :action => "confirm"
return
end
end
Expand Down
2 changes: 1 addition & 1 deletion app/views/accounts/confirm.html.erb
Expand Up @@ -9,7 +9,7 @@
<%= _("Login %s", current_user.login)%>
</li>
<li>
<%= _("Password %s", @password) %>
<%= _("Password %s", session[:tmppass]) %>
</li>
<li><%= _("Don't lose the mail sent at %s or you won't be able to login anymore", current_user.email)%></li>
<li><%= _("Proceed to") + " " + link_to(_("admin"), :controller => 'admin/settings') %> </li>
Expand Down

0 comments on commit c25cfb9

Please sign in to comment.