From 91807775fc28ff3d71cb4ff06af526ce6eefe6d1 Mon Sep 17 00:00:00 2001 From: Oguzhan Soykan Date: Mon, 25 Sep 2017 17:38:27 +0300 Subject: [PATCH] defaultprincipalaccessor made singleton again --- common.props | 2 +- src/Stove/Runtime/Session/DefaultPrincipalAccessor.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.props b/common.props index 3e6387e..5f4c947 100644 --- a/common.props +++ b/common.props @@ -1,6 +1,6 @@ - 2.0.0-rc2 + 2.0.0-rc3 $(NoWarn);CS1591 https://raw.githubusercontent.com/osoykan/Stove/master/stove.png https://github.com/osoykan/Stove diff --git a/src/Stove/Runtime/Session/DefaultPrincipalAccessor.cs b/src/Stove/Runtime/Session/DefaultPrincipalAccessor.cs index 731ac9d..17b7e0d 100644 --- a/src/Stove/Runtime/Session/DefaultPrincipalAccessor.cs +++ b/src/Stove/Runtime/Session/DefaultPrincipalAccessor.cs @@ -5,7 +5,7 @@ namespace Stove.Runtime.Session { - public class DefaultPrincipalAccessor : IPrincipalAccessor, ITransientDependency + public class DefaultPrincipalAccessor : IPrincipalAccessor, ISingletonDependency { public static DefaultPrincipalAccessor Instance => new DefaultPrincipalAccessor();