search for: login_info

Displaying 3 results from an estimated 3 matches for "login_info".

Did you mean: log_info
2009 Feb 02
2
did_not_yield
...ention, below here, all methods are PROTECTED def log_test session[:auth] ? ( @time_left = (session[:expires_at] - Time.now).to_i @time_left<0 ? ( flash[:notice] = ''Too much time without activity ... login_required ''+session[:expires_at].to_s @login_info=''Too much time without activity ... login_required ''+session[:expires_at].to_s ) : (@login_info=''Updating session time'') yield ) : ( @login_info=''User not logged'') end ... end In my controllers, I have this called:...
2006 Apr 04
1
integration tests - 1.1
...ere?s the code: class LoginRedirectTest < ActionController::IntegrationTest def test_non_admin_auth request_uri = "/datafeed/event/report?blah=blah" get(request_uri) follow_redirect! assert_response :success status = post("/login/authenticate", :login_info => {:user_name => "blah", :password => "blah"}) follow_redirect! assert_response :success user = session[:user] assert !user.nil? # puts response["REQUEST_URI"] # assert_equal(request_uri, response ["REQUEST_URI"]) end...
2001 Aug 30
0
Q: patch for logging rsa-fingerprint on login/logout?
...dn't find a patch for my wish, I'm telling what I thought. Suggestions welcome (a patch moreso :-) I've started to modify login_write() which seems the best point for this. BUT: how can I get the fingerprint cleanly into that? I think the cleanest version would be to add two fields to login_info: - authenticate-type (rsa, rhosts, rh-rsa, dsa, password, ...) - authenticate-info (fingerprint of key) But that means some work, as I have to change every authenticate-function to fill in these fields. Is there any architectural better solution for that? Or maybe there are volunteers? (at least...