fix(xo-server): remove password when sign in with provider
Password can no longer be used/edited when an auth provider is registered. For security concerns, this useless password should be removed from the database.
This commit is contained in:
committed by
Florent BEAUCHAMP
parent
221cd40199
commit
fc1c809a18
@@ -297,6 +297,7 @@ export default class {
|
||||
data: data !== undefined ? data : user.authProviders?.[providerId]?.data,
|
||||
},
|
||||
},
|
||||
password: null,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user