From eb9138813c3784343c7e2478b94eaee494b51421 Mon Sep 17 00:00:00 2001 From: Shaun McDonald Date: Sun, 14 Dec 2008 23:16:27 +0000 Subject: [PATCH] Return, rather than allow a second render to happen. Closes #1407 --- app/controllers/user_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 825c92635..7ebe6b6b6 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -124,6 +124,7 @@ class UserController < ApplicationController else redirect_to :controller => 'site', :action => 'index' end + return end @title = 'login' if params[:user] -- 2.39.5