Displaying 1 result from an estimated 1 matches for "log_user_in".
Did you mean:
blog_user_id
2008 Feb 14
4
How do I access this parameter?
...hought it would be params[:login] and
params[:password], but that is not right. Any help is appreciated, -
Dave
My code now:
def userconfirm
@user = User.new(params[:user])
if @user.save
# Create session
if (log_user_in(params[:login],
params[:password], nil))
redirect_to :controller =>
''order'', :action => ''new''
else
flash[:notice] = "You are not logged
in."...