uncomment code activationLink

This commit is contained in:
ogerly 2022-03-21 12:07:59 +01:00
parent 15e0186381
commit a23777b6ec

View File

@ -384,12 +384,13 @@ export class UserResolver {
email, email,
}) })
// uncomment this, when you need the activation link on the console /* uncomment this, when you need the activation link on the console
// In case EMails are disabled log the activation link for the user // In case EMails are disabled log the activation link for the user
if (!emailSent) { if (!emailSent) {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log(`Account confirmation link: ${activationLink}`) console.log(`Account confirmation link: ${activationLink}`)
} }
*/
await queryRunner.commitTransaction() await queryRunner.commitTransaction()
} catch (e) { } catch (e) {