Commit 7f5923c1 authored by Joost Fock's avatar Joost Fock

updatet cas dev auth

parent cc8dcf19
......@@ -32,7 +32,7 @@ public UserInfo WieBenIk()
var principal = System.Web.HttpContext.Current.User as CasPrincipal;
return new UserInfo()
AdNr = int.Parse(principal.Assertion.Attributes["cas:ad_nummer"].First()),
AdNr = int.Parse(principal.Assertion.Attributes["field_cas_ad_nummer"].First()),
// Normally no developer mode.
DeveloperMode = true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment