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:
Warren Buckley
2020-04-02 15:35:21 +01:00
parent 5fc889a8a5
commit df19ca45a0

View File

@@ -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;
}
}