FAQ/PostLogin.md
... ...
@@ -10,6 +10,7 @@ This will enable you to run any user/role related code, before the global settin
10 10
```csharp
11 11
public override void PostLogin()
12 12
{
13
+ //user was already authenticated by login.aspx so we just need to use the information from the session in our AdHoc reporting
13 14
AdHocSettings.CurrentUserName = HttpContext.Current.Session["UserName"];
14 15
AdHocSettings.CurrentUserIsAdmin = HttpContext.Current.Session["IsAdmin"];
15 16
if (AdHocSettings.CurrentUserIsAdmin)