mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Encrypt email in JWT - fixes 2 test cases
This commit is contained in:
parent
dacc3bb557
commit
88aa8a3929
@ -22,7 +22,7 @@ export default {
|
||||
const session = driver.session()
|
||||
const result = await session.run(
|
||||
'MATCH (user:User)-[:PRIMARY_EMAIL]->(e:EmailAddress {email: $userEmail})' +
|
||||
'RETURN user {.id, .slug, .name, .avatar, .encryptedPassword, .role, .disabled} as user LIMIT 1',
|
||||
'RETURN user {.id, .slug, .name, .avatar, .encryptedPassword, .role, .disabled, email:e.email} as user LIMIT 1',
|
||||
{
|
||||
userEmail: email,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user