@orbiting/backend-modules-auth
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -1,6 +0,16 @@ | ||
<a name="3.0.7"></a> | ||
## 3.0.7 (2018-01-18) | ||
<a name="3.0.8"></a> | ||
## 3.0.8 (2018-01-18) | ||
<a name="3.0.8"></a> | ||
## 3.0.8 (2018-01-18) | ||
### Bug Fixes | ||
* **Sessions:** honour existingUser.verified for isNew in authorizeSession ([d75b324](https://github.com/orbiting/backend-modules/commit/d75b324)) | ||
<a name="3.0.7"></a> | ||
@@ -7,0 +17,0 @@ ## 3.0.7 (2018-01-18) |
@@ -115,3 +115,7 @@ const { NoSessionError, QueryEmailMismatchError, DestroySessionError } = require('./errors') | ||
signInHooks.map(hook => | ||
hook(user.id, !existingUser, pgdb) | ||
hook( | ||
user.id, | ||
(!existingUser || !existingUser.verified), | ||
pgdb | ||
) | ||
) | ||
@@ -118,0 +122,0 @@ ) |
{ | ||
"name": "@orbiting/backend-modules-auth", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "auth migrations, seeds, middleware, graphql schema and resolvers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
63706
1462