Commit edc53c65 authored by o@immerda.ch's avatar o@immerda.ch
Browse files

Revert "preserve u on redirects to login"

This reverts commit 0e992f32.
parent d764d393
......@@ -58,7 +58,7 @@ class ApplicationController < ActionController::Base
if !current_user
page = request.env['PATH_INFO']
if page != '/'
redirect_to("/login?p=#{page}" + if params[:u] then "&u=#{params[:u]}" else "" end)
redirect_to "/login?p=#{page}"
else
redirect_to "/login"
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment