skip check
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net8.0</TargetFrameworks>
|
<TargetFrameworks>Dranet8.0</TargetFrameworks>
|
||||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,1591</NoWarn>
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,1591</NoWarn>
|
||||||
<DocumentationFile>Pilz.Configuration.xml</DocumentationFile>
|
<DocumentationFile>Pilz.Configuration.xml</DocumentationFile>
|
||||||
<DefaultItemExcludes>$(DefaultItemExcludes);$(ProjectDir)**\*.vb</DefaultItemExcludes>
|
<DefaultItemExcludes>$(DefaultItemExcludes);$(ProjectDir)**\*.vb</DefaultItemExcludes>
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ namespace Pilz.Networking.CloudProviders.Nextcloud
|
|||||||
{
|
{
|
||||||
// Try get user info & check if user is enabled
|
// Try get user info & check if user is enabled
|
||||||
var userInfo = Cloud.GetUserInfo();
|
var userInfo = Cloud.GetUserInfo();
|
||||||
var isValid = userInfo != null && userInfo.Enabled;
|
var isValid = userInfo != null /*&& userInfo.Enabled*/; // Enabled is false for some (new) users but they still are able to login??
|
||||||
|
|
||||||
// If invalid, reset login credentials
|
// If invalid, reset login credentials
|
||||||
if (!isValid)
|
if (!isValid)
|
||||||
|
|||||||
Reference in New Issue
Block a user