aloux-iam 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -404,10 +404,10 @@ self.verifyMailTokenAccount = async (req, res) => {
404
404
  } else {
405
405
  user.validateKey.validateEmail.verifyMailToken = null
406
406
  user.validateKey.validateEmail.emailVerified = true
407
- user.save()
407
+ await user.save()
408
408
  }
409
409
 
410
- if (user.validateKey.validateEmail.emailVerified == true) {
410
+ if (user.validateKey.validateEmail.emailVerified === true) {
411
411
  await self.sendValidateEmail(user.email)
412
412
  }
413
413
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aloux-iam",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "Aloux IAM for APIs ",
5
5
  "main": "index.js",
6
6
  "scripts": {