Tidy up homepage and navigation
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class SessionsController < ApplicationController
|
||||
layout "authentication"
|
||||
allow_unauthenticated_access only: %i[ new create ]
|
||||
rate_limit to: 10, within: 3.minutes, only: :create, with: -> { redirect_to new_session_path, alert: "Try again later." }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user