Remove obsolete expire_auth_token_on_timeout

This should have been removed in dff7891b97
when token authentication (and the reset_authentication_token! method)
were removed.
This commit is contained in:
David Rodríguez
2015-07-11 09:01:22 -03:00
parent c72be1531c
commit 4064641967
6 changed files with 1 additions and 36 deletions

View File

@@ -3,9 +3,4 @@ class AdminsController < ApplicationController
def index
end
def expire
admin_session['last_request_at'] = 31.minutes.ago.utc
render text: 'Admin will be expired on next request'
end
end