OpenID - revert case insensitive session UID lookup
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Garrett Mills 2020-10-19 09:26:52 -05:00
parent e400e16ccc
commit 8f1bbfef56
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -49,7 +49,7 @@ class CoreIDAdapter {
async findByUid(uid) { async findByUid(uid) {
const result = await this.coll().find( const result = await this.coll().find(
{ 'payload.uid': uid.toLowerCase() }, { 'payload.uid': uid },
{ payload: 1 }, { payload: 1 },
).limit(1).next() ).limit(1).next()