diff --git a/lib/casserver/server.rb b/lib/casserver/server.rb index 77f7633a..d6e49166 100644 --- a/lib/casserver/server.rb +++ b/lib/casserver/server.rb @@ -559,7 +559,7 @@ def self.init_database! if @gateway && @service redirect @service, 303 elsif @continue_url - render @template_engine, :logout + redirect @continue_url, 303 else render @template_engine, :login end