Permalink
Browse files

settings error

  • Loading branch information...
naspinski_cp naspinski_cp
naspinski_cp authored and naspinski_cp committed Mar 22, 2011
1 parent ea76ace commit a4f419b870397f0b61303a0a32b859a264bddc5d
@@ -17,13 +17,17 @@ public static string AttachmentDirectory
set { Utils.Settings.Update("attachments", value); }
}
/// <summary>
/// not yet implemented
/// </summary>
public static AuthenticationMode AuthenticationMode
{
get
{
Configuration config = WebConfigurationManager.OpenWebConfiguration("~");
SystemWebSectionGroup grp = (SystemWebSectionGroup)config.GetSectionGroup("system.web");
return grp.Authentication.Mode;
return AuthenticationMode.Windows;
//Configuration config = WebConfigurationManager.OpenWebConfiguration("~");
//SystemWebSectionGroup grp = (SystemWebSectionGroup)config.GetSectionGroup("system.web");
//return grp.Authentication.Mode;
}
}
}

0 comments on commit a4f419b

Please sign in to comment.