mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
public :form_authenticity_token
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
attr_reader :request
|
attr_reader :request
|
||||||
|
|
Loading…
Reference in New Issue
Block a user