1
0
Fork 0
mirror of synced 2024-06-27 18:50:47 +12:00

Merge pull request #6222 from appwrite/fix-6177-user-accessed-at

Don't update User Accessed At for Users and Teams APIs
This commit is contained in:
Jake Barnby 2023-09-12 16:56:28 -04:00 committed by GitHub
commit ec8c3b6bb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View file

@ -491,7 +491,6 @@ App::post('/v1/teams/:teamId/memberships')
'tokens' => null,
'memberships' => null,
'search' => implode(' ', [$userId, $email, $name]),
'accessedAt' => DateTime::now(),
])));
} catch (Duplicate $th) {
throw new Exception(Exception::USER_ALREADY_EXISTS);

View file

@ -97,7 +97,6 @@ function createUser(string $hash, mixed $hashOptions, string $userId, ?string $e
'tokens' => null,
'memberships' => null,
'search' => implode(' ', [$userId, $email, $phone, $name]),
'accessedAt' => DateTime::now(),
]));
} catch (Duplicate $th) {
throw new Exception(Exception::USER_ALREADY_EXISTS);