From c38cdf6f97f5652336cfbbe2c3d245c465c3fa43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Teller=C3=ADa?= Date: Fri, 27 Nov 2015 18:41:11 -0500 Subject: [PATCH] (*) Fixing anonymous access. --- .../SPGenericListRSS/Layouts/SPGenericListRSS/rss.aspx.cs | 3 ++- SPGenericListRSS/SPGenericListRSS/SPGenericListRSS.csproj | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SPGenericListRSS/SPGenericListRSS/Layouts/SPGenericListRSS/rss.aspx.cs b/SPGenericListRSS/SPGenericListRSS/Layouts/SPGenericListRSS/rss.aspx.cs index 02e1863..b66fb56 100644 --- a/SPGenericListRSS/SPGenericListRSS/Layouts/SPGenericListRSS/rss.aspx.cs +++ b/SPGenericListRSS/SPGenericListRSS/Layouts/SPGenericListRSS/rss.aspx.cs @@ -48,8 +48,9 @@ public RssFeedDto() } - public partial class rss : LayoutsPageBase + public partial class rss : UnsecuredLayoutsPageBase { + protected override bool AllowAnonymousAccess { get { return true; } } private void BindData(RssFeedDto feed) { litRssLastBuildDate.Text = feed.LastBuildDate.ToString(); diff --git a/SPGenericListRSS/SPGenericListRSS/SPGenericListRSS.csproj b/SPGenericListRSS/SPGenericListRSS/SPGenericListRSS.csproj index 6d40785..5355719 100644 --- a/SPGenericListRSS/SPGenericListRSS/SPGenericListRSS.csproj +++ b/SPGenericListRSS/SPGenericListRSS/SPGenericListRSS.csproj @@ -54,7 +54,6 @@ rss.aspx - ASPXCodeBehind rss.aspx.cs