die e-mail entfernt
Dieser Commit ist enthalten in:
@ -29,7 +29,7 @@ async function createTestUser() {
|
||||
try {
|
||||
console.log('\n=== Creating Test User ===\n');
|
||||
|
||||
const email = 'hendrik.gebhardt@polizei.nrw.de';
|
||||
const email = 'test.user@example.com';
|
||||
const hashedPassword = await bcryptjs.hash('test123', 10);
|
||||
const encryptedEmail = encrypt(email);
|
||||
const emailHash = hashEmail(email);
|
||||
@ -40,7 +40,7 @@ async function createTestUser() {
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||
`).run(
|
||||
userId,
|
||||
'hendrik.gebhardt',
|
||||
'test.user',
|
||||
encryptedEmail,
|
||||
emailHash,
|
||||
hashedPassword,
|
||||
@ -52,7 +52,7 @@ async function createTestUser() {
|
||||
|
||||
console.log('✓ Test user created successfully!');
|
||||
console.log('Email:', email);
|
||||
console.log('Username: hendrik.gebhardt');
|
||||
console.log('Username: test.user');
|
||||
console.log('Password: test123');
|
||||
console.log('Role: user');
|
||||
|
||||
@ -69,4 +69,4 @@ async function createTestUser() {
|
||||
}
|
||||
}
|
||||
|
||||
createTestUser();
|
||||
createTestUser();
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren