mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
fix(gdpr): forbidden domain
This commit is contained in:
parent
c9bb96d2be
commit
e1f9cac37a
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ async function deleteHabiticaData (user, email) {
|
||||||
{ _id: user._id },
|
{ _id: user._id },
|
||||||
{
|
{
|
||||||
$set: {
|
$set: {
|
||||||
'auth.local.email': user.auth.local.email ? email : `${truncatedEmail}@habitica.com`,
|
'auth.local.email': user.auth.local.email ? email : `${truncatedEmail}@example.com`,
|
||||||
'auth.local.hashed_password': '$2a$10$QDnNh1j1yMPnTXDEOV38xOePEWFd4X8DSYwAM8XTmqmacG5X0DKjW',
|
'auth.local.hashed_password': '$2a$10$QDnNh1j1yMPnTXDEOV38xOePEWFd4X8DSYwAM8XTmqmacG5X0DKjW',
|
||||||
'auth.local.passwordHashMethod': 'bcrypt',
|
'auth.local.passwordHashMethod': 'bcrypt',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue