diff --git a/src/sunstone/sunstone-server.rb b/src/sunstone/sunstone-server.rb index a6646f2b26..9999b27713 100755 --- a/src/sunstone/sunstone-server.rb +++ b/src/sunstone/sunstone-server.rb @@ -219,13 +219,7 @@ end ############################################################################## get '/' do if !authorized? - if settings.config[:auth] == "x509" - templ = "login_x509.html" - else - templ = "login.html" - end - - return File.read(File.dirname(__FILE__)+'/templates/'+templ) + return erb :login end time = Time.now + 60*10 response.set_cookie("one-user",