mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 14:54:48 +08:00
df535c6346
This feature ensures session cookie lifespan is extended when user is online. Also decreases session timeout from 90 to 60 days. Ensures all users (including logged on ones) get expiring sessions.
6 lines
153 B
Ruby
6 lines
153 B
Ruby
class RenameAuthTokenCreatedAt < ActiveRecord::Migration
|
|
def change
|
|
rename_column :users, :auth_token_created_at, :auth_token_updated_at
|
|
end
|
|
end
|