mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
fix expiration test. it was missing a rendering
This commit is contained in:
parent
0a57a68a87
commit
07de6a8358
1 changed files with 5 additions and 0 deletions
|
|
@ -16,6 +16,11 @@ class SessionBackdoorController < ::ApplicationController
|
||||||
session['user_id'] = nil
|
session['user_id'] = nil
|
||||||
reset_session
|
reset_session
|
||||||
session['expiry_time'] = Time.now
|
session['expiry_time'] = Time.now
|
||||||
|
|
||||||
|
respond_to do |format|
|
||||||
|
format.html { render :text => "Session expired for test purposes"}
|
||||||
|
format.js { render :text => "" }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue