mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #1305 from bugfixin/passwordless-form-encoded
Fix passwordless authentication with non-json content-types
This commit is contained in:
commit
4e0be95368
@ -71,7 +71,7 @@ namespace Emby.Server.Implementations.Services
|
|||||||
string propertyName = pair.Key;
|
string propertyName = pair.Key;
|
||||||
string propertyTextValue = pair.Value;
|
string propertyTextValue = pair.Value;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(propertyTextValue)
|
if (propertyTextValue == null
|
||||||
|| !propertySetterMap.TryGetValue(propertyName, out propertySerializerEntry)
|
|| !propertySetterMap.TryGetValue(propertyName, out propertySerializerEntry)
|
||||||
|| propertySerializerEntry.PropertySetFn == null)
|
|| propertySerializerEntry.PropertySetFn == null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user