Skip to content

Commit 52ef4a7

Browse files
Remove session clearance
1 parent 6c91c2e commit 52ef4a7

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

Modules/Authentication.Web/Concern/WebAuthenticationConcern.cs

+1-9
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,7 @@ public WebAuthenticationConcern(IHandler parent, Func<IHandler, IHandler> conten
147147
}
148148
if (Integration.AllowAnonymous)
149149
{
150-
var response = await Content.HandleAsync(request);
151-
152-
if ((response != null) && (token != null))
153-
{
154-
// clear the invalid cookie
155-
SessionHandling.ClearToken(response);
156-
}
157-
158-
return response;
150+
return await Content.HandleAsync(request);
159151
}
160152
else
161153
{

Modules/Placeholders/Providers/PageProviderBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public IHandler Build(IHandler parent)
118118
throw new BuilderMissingPropertyException("Content");
119119
}
120120

121-
return Concerns.Chain(parent, _Concerns, (p) => new PageProvider(p, _Info.Build(), _Additions.Build(), _Modifications.Build(), _Content)); ;
121+
return Concerns.Chain(parent, _Concerns, (p) => new PageProvider(p, _Info.Build(), _Additions.Build(), _Modifications.Build(), _Content));
122122
}
123123

124124
#endregion

0 commit comments

Comments
 (0)