mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:49:06 +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…
Reference in New Issue
Block a user