1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Built out interfaces & endpoints for API token managment

This commit is contained in:
Dan Brown
2019-12-29 17:03:52 +00:00
parent d336ba6874
commit dccb279c84
14 changed files with 325 additions and 6 deletions

View File

@ -194,6 +194,7 @@ class UserRepo
public function destroy(User $user)
{
$user->socialAccounts()->delete();
$user->apiTokens()->delete();
$user->delete();
// Delete user profile images