summaryrefslogtreecommitdiff
path: root/lib/migrations/20180525153000-user-add-delete-token.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add token based security featureSheogorath2018-05-251-0/+13
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>