mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 02:04:53 +08:00
FIX: BAD CSRF on login. Don't check csrf in the fake login form since it doesn't actually do anything.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
class StaticController < ApplicationController
|
||||
|
||||
skip_before_filter :check_xhr, :redirect_to_login_if_required
|
||||
skip_before_filter :verify_authenticity_token, only: [:enter]
|
||||
|
||||
def show
|
||||
|
||||
|
Reference in New Issue
Block a user