mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-02 13:02:00 +08:00
refactor(csrf): export generateToken utility
This commit is contained in:
parent
e3d89ce2a5
commit
6dd8ab31d5
@ -12,4 +12,4 @@ const doubleCsrfUtilities = doubleCsrf({
|
||||
cookieName: "_csrf"
|
||||
});
|
||||
|
||||
export const { doubleCsrfProtection } = doubleCsrfUtilities;
|
||||
export const { generateToken, doubleCsrfProtection } = doubleCsrfUtilities;
|
||||
|
Loading…
x
Reference in New Issue
Block a user