search for: using_open_id

Displaying 1 result from an estimated 1 matches for "using_open_id".

2008 Aug 30
3
Working with sessions in beast forum
...changing the value in their settings. I know that I have to set this value when a session is created but I''m baffled about how (and where exactly) I have to do it. The following code is used when creating a session: class SessionsController < ApplicationController def create if using_open_id? cookies[:use_open_id] = {:value => ''1'', :expires => 1.year.from_now.utc} open_id_authentication else cookies[:use_open_id] = {:value => ''0'', :expires => 1.year.ago.utc} password_authentication params[:login], params[:passw...