mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01: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)
|
if (propagateOidcData)
|
||||||
{
|
{
|
||||||
users= Meteor.users;
|
users= Meteor.users;
|
||||||
user = users.findOne({'services.oidc.id': userId});
|
user = users.findOne({'services.oidc.id': userId.toString()});
|
||||||
|
|
||||||
if(user)
|
if(user)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue