Make this a sucessful login even though they have no start nodes - so our SPA app can decide in the UI what to do/show
This commit is contained in:
@@ -121,7 +121,9 @@ namespace Umbraco.Web.Security
|
||||
{
|
||||
_logger.WriteCore(TraceEventType.Information, 0,
|
||||
$"Login attempt failed for username {userName} from IP address {_request.RemoteIpAddress}, no content and/or media start nodes could be found for any of the user's groups", null, null);
|
||||
return SignInStatus.Failure;
|
||||
|
||||
// We will say its a sucessful login which it is, but they have no node access
|
||||
return SignInStatus.Success;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user