refactor(server): use user model on oauth plugin (#10031)

close CLOUD-117
This commit is contained in:
fengmk2
2025-02-10 12:01:14 +00:00
parent 23364b59a0
commit 67b6c28d67
5 changed files with 48 additions and 64 deletions
@@ -187,7 +187,7 @@ test('should revoke token after change user identify', async t => {
// change password
{
const u3Email = 'u3@affine.pro';
const u3Email = 'u3333@affine.pro';
await app.logout();
const u3 = await app.signup(u3Email);