mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
refactor: use user-token for historyDelete too
Previously, the user token was only used for the endpoint to delete the user itself. This commit adds that token to the history deletion as well. Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
4fdab806a3
commit
eb2a1d8344
4 changed files with 26 additions and 19 deletions
|
@ -10,3 +10,4 @@ window.linkifyHeaderStyle = '<%- linkifyHeaderStyle %>'
|
|||
window.DROPBOX_APP_KEY = '<%- DROPBOX_APP_KEY %>'
|
||||
|
||||
window.cookiePolicy = '<%- cookiePolicy %>'
|
||||
window.userToken = '<%- userToken %>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue