on .NET MAUI provide message to user if Security Token has not been configured

This commit is contained in:
sbwalker
2024-09-18 11:28:11 -04:00
parent 64c7f1962c
commit ac313722f9
2 changed files with 15 additions and 7 deletions

View File

@ -6,7 +6,6 @@ using System.Threading.Tasks;
using System.Linq;
using System.Security.Claims;
using Oqtane.Shared;
using System;
using System.Net;
using Oqtane.Enums;
using Oqtane.Infrastructure;
@ -386,6 +385,7 @@ namespace Oqtane.Controllers
}
if (roles != "") roles = ";" + roles;
user.Roles = roles;
user.SecurityStamp = User.SecurityStamp();
}
return user;
}