Skip to content

Commit e4f67a6

Browse files
committed
We dont actually need this
Not worth the complication. Let them login again. It doesn't matter.
1 parent eaa4052 commit e4f67a6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

railties/lib/rails/generators/rails/authentication/templates/controllers/sessions_controller.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ class SessionsController < ApplicationController
33
rate_limit to: 10, within: 3.minutes, only: :create, with: -> { redirect_to new_session_url, alert: "Try again later." }
44

55
def new
6-
resume_session
7-
8-
if authenticated?
9-
redirect_to root_url
10-
else
11-
render
12-
end
136
end
147

158
def create

0 commit comments

Comments
 (0)