Project

General

Profile

Actions

Defect #103

closed

app/controllers/application.rb don't know 'autologin_key'

Added by Satoru KURASHIKI about 17 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I've met error at rev. 682, and avoid it by editing:

User.current = User.find(session[:user_id])
elsif cookies[:autologin] && Setting.autologin?
  1. auto-login feature
    - User.current = User.find_by_autologin_key(autologin_key)
    + User.current = User.find_by_autologin_key(cookies[:autologin])
    elsif params[:key] && accept_key_auth_actions.include?(params[:action])
  2. RSS key authentication
    User.current = User.find_by_rss_key(params[:key])

Older revision had method to set autologin_key, but it seems to be removed.

Actions #1

Updated by Jean-Philippe Lang about 17 years ago

Fix committed in rev 683.

Thanks

Actions

Also available in: Atom PDF