mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Fix OIDC login loop for integer user ID.
Thanks to danielkaiser and xet7 ! Fixes #4795
This commit is contained in:
parent
5591319259
commit
f2a92be01a
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ Meteor.methods({
|
|||
if (propagateOidcData)
|
||||
{
|
||||
users= Meteor.users;
|
||||
user = users.findOne({'services.oidc.id': userId});
|
||||
user = users.findOne({'services.oidc.id': userId.toString()});
|
||||
|
||||
if(user)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue