Actions
Defect #103
closedapp/controllers/application.rb don't know 'autologin_key'
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?
- 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]) - 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