A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
if( UnifiedPrincipal.Current.Identity.IsAuthenticated )
{
UserSid user = UserSid.Load(UnifiedPrincipal.CurrentSid);
user.SetPassword("newPassword");
}
Also, UnifiedPrincipal is in the EPiServer.Security namespace.
Regards,
Jeremy