mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 06:48:25 +08:00
DEV: Provide method for auth plugins to generate a CSRF token
This commit is contained in:
parent
4ed517a344
commit
923c46f5df
@ -23,6 +23,8 @@ class CSRFTokenVerifier
|
||||
end
|
||||
end
|
||||
|
||||
public :form_authenticity_token
|
||||
|
||||
private
|
||||
|
||||
attr_reader :request
|
||||
|
Loading…
x
Reference in New Issue
Block a user