jcs / rubywarden

An unofficial, mostly Bitwarden-compatible API server written in Ruby (Sinatra and ActiveRecord)
ISC License
592 stars 49 forks source link

Delete user #120

Closed ghost closed 3 years ago

ghost commented 4 years ago

Hi! Thank you for the awesome work both documenting the API and writing rubywarden. What is the recommended way to delete a user from the database ? Will a simple delete cascade work ?

jcs commented 3 years ago

As of 31122bd, a destroy on the user object should destroy all the associated folders and ciphers