class ApplicationController < ActionController::Base
protect_from_forgery
before_filter :authenticate
def authenticate
login_success = authenticate_or_request_with_http_basic("Login to Importtool") do |username, password|
username == APP_CONFIG[:authenticate][:user] && password == APP_CONFIG[:authenticate][:password]
end
end
soweit ist auch alles Gut.
Ich möchte nun einen Logout Mechanismus einbauen.
Wie bekomme ich das hin das der authenticate Dialog wieder angezeigt wird.
Habe im Netz schon gesucht aber nix passendes gefunden.
Danke und Gruß
Guido