mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
do not remove optin code in DB after email verification
This commit is contained in:
parent
cb90249301
commit
37e36e01af
@ -486,12 +486,6 @@ export class UserResolver {
|
||||
throw new Error('error saving user: ' + error)
|
||||
})
|
||||
|
||||
// why do we delete the code?
|
||||
// Delete Code
|
||||
await queryRunner.manager.remove(optInCode).catch((error) => {
|
||||
throw new Error('error deleting code: ' + error)
|
||||
})
|
||||
|
||||
await queryRunner.commitTransaction()
|
||||
} catch (e) {
|
||||
await queryRunner.rollbackTransaction()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user