skip check
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user