vasiliyfomichev / Sitecore-ADFS-Authenticator-Module

The ADFS Authenticator is a rewritten version of the Fed Authenticator module in .NET 4.5, using the new System.IdentityModel namespaces, with specific configuration for the Active Directory Federated Services (ADFS). The module implements the following additional features: ADFS Logout Authenticating users as Administrators
http://www.cmsbestpractices.com
MIT License
17 stars 8 forks source link

Does not set client language cookie? #2

Open DiegoSSJ opened 9 years ago

DiegoSSJ commented 9 years ago

We noticed that (real, ad synched) users logged in via ADFS do not get the right sitecore client language as specified by their profile setting. The shell#lang cookie is not set.

We fixed this by adding

WriteCookie("shell#lang", Sitecore.Context.User.Profile.ClientLanguage);

To Login.aspx.cs.

Unorthodox solution?