hedgedoc/lib/models
Sheogorath 70df29790a
Add token based security feature
In the current setup users could be tricked into deleting their data by
providing a malicious link like `[click me](/me/delete)`. This commit
prevents such an easy attack and need the user's deleteToken to get his
data deleted. In case someone requests his deletion by email you can
also ask him for this token.

We can add a GUI that shows it later on.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-05-25 18:26:06 +02:00
..
author.js Use cascaded deletes 2018-05-25 14:55:18 +02:00
index.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
note.js Use cascaded deletes 2018-05-25 14:55:18 +02:00
revision.js Use cascaded deletes 2018-05-25 14:55:18 +02:00
temp.js Use strict mode in all backend files 2017-03-14 13:02:43 +08:00
user.js Add token based security feature 2018-05-25 18:26:06 +02:00