nextcloud-server/lib/private/Authentication
Ferdinand Thiessen 5d5c307a1a
fix: Make user removal more resilient
Currently there is a problem if an exception is thrown in `User::delete`,
because at that point the user is already removed from the backend,
but not all data is deleted.

There is no way to recover from this state, as the user is gone no information is available anymore.
This means the data is still available on the server but can not removed by any API anymore.

The solution here is to first set a flag and backup the user home,
this can be used to recover failed user deletions in a way the delete can be re-tried.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 16:50:27 +07:00
..
Events Use OCP version of IToken in AppPasswordCreatedEvent 2024-01-11 14:02:15 +07:00
Exceptions fix: Apply new coding standard to all files 2024-04-04 11:45:22 +07:00
Listeners fix: Make user removal more resilient 2024-10-15 16:50:27 +07:00
Login fix: Apply new coding standard to all files 2024-04-04 11:45:22 +07:00
LoginCredentials fix: Apply new coding standard to all files 2024-04-04 11:45:22 +07:00
Notifications
Token fix(Token): take over scope in token refresh with login by cookie 2024-07-22 06:54:44 +07:00
TwoFactorAuth chore: Fix small psalm errors related to documented return types 2024-05-06 18:21:38 +07:00
WebAuthn fix: Apply new coding standard to all files 2024-04-04 11:45:22 +07:00