skip check

This commit is contained in:
2024-01-19 16:58:34 +01:00
parent a0d72dd36f
commit 223687cacb
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>Dranet8.0</TargetFrameworks>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,1591</NoWarn>
<DocumentationFile>Pilz.Configuration.xml</DocumentationFile>
<DefaultItemExcludes>$(DefaultItemExcludes);$(ProjectDir)**\*.vb</DefaultItemExcludes>

View File

@@ -79,7 +79,7 @@ namespace Pilz.Networking.CloudProviders.Nextcloud
{
// Try get user info & check if user is enabled
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 (!isValid)