diff --git a/src/Maw.Cache/Maw.Cache.csproj b/src/Maw.Cache/Maw.Cache.csproj index eee3ff55..e9838ea6 100644 --- a/src/Maw.Cache/Maw.Cache.csproj +++ b/src/Maw.Cache/Maw.Cache.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Maw.Data/Maw.Data.csproj b/src/Maw.Data/Maw.Data.csproj index 2139a5e0..1cb6beb8 100755 --- a/src/Maw.Data/Maw.Data.csproj +++ b/src/Maw.Data/Maw.Data.csproj @@ -15,8 +15,8 @@ - - + + diff --git a/src/Maw.Domain.Models/Maw.Domain.Models.csproj b/src/Maw.Domain.Models/Maw.Domain.Models.csproj index deede979..3c04d7f8 100644 --- a/src/Maw.Domain.Models/Maw.Domain.Models.csproj +++ b/src/Maw.Domain.Models/Maw.Domain.Models.csproj @@ -7,7 +7,7 @@ - + diff --git a/src/Maw.Domain/Maw.Domain.csproj b/src/Maw.Domain/Maw.Domain.csproj index 010ff83c..7f503327 100755 --- a/src/Maw.Domain/Maw.Domain.csproj +++ b/src/Maw.Domain/Maw.Domain.csproj @@ -18,12 +18,12 @@ - - - + + + - + diff --git a/src/api/api.csproj b/src/api/api.csproj index 73d0c7f0..9eda9d28 100644 --- a/src/api/api.csproj +++ b/src/api/api.csproj @@ -14,10 +14,10 @@ - - + + - + diff --git a/src/auth/Controllers/AccountController.cs b/src/auth/Controllers/AccountController.cs index 21b905dc..361f9a05 100644 --- a/src/auth/Controllers/AccountController.cs +++ b/src/auth/Controllers/AccountController.cs @@ -184,9 +184,7 @@ public async Task Logout(string logoutId) await _signInManager.SignOutAsync(); -#pragma warning disable SCS0027 - return Redirect(logout.PostLogoutRedirectUri); -#pragma warning restore SCS0027 + return Redirect(logout?.PostLogoutRedirectUri ?? "/login"); } [HttpGet("forgot-password")] diff --git a/src/auth/Services/PersistedGrantStore.cs b/src/auth/Services/PersistedGrantStore.cs index f917f86b..02cc1a75 100644 --- a/src/auth/Services/PersistedGrantStore.cs +++ b/src/auth/Services/PersistedGrantStore.cs @@ -40,7 +40,7 @@ public Task> GetAllAsync(PersistedGrantFilter filter ); } - public Task GetAsync(string key) + public Task GetAsync(string key) { if(string.IsNullOrWhiteSpace(key)) { @@ -50,7 +50,7 @@ public Task GetAsync(string key) Log.LogDebug("getting grant for key: {Key}", key); return RunAsync(conn => - conn.QuerySingleOrDefaultAsync( + conn.QuerySingleOrDefaultAsync( "SELECT * FROM idsrv.get_persisted_grant(@key);", new { diff --git a/src/auth/auth.csproj b/src/auth/auth.csproj index 8c57edbb..4a9c5672 100644 --- a/src/auth/auth.csproj +++ b/src/auth/auth.csproj @@ -14,15 +14,15 @@ - - - - - + + + + + - + - + diff --git a/src/www/www.csproj b/src/www/www.csproj index f7177d14..28e49e7c 100755 --- a/src/www/www.csproj +++ b/src/www/www.csproj @@ -14,11 +14,11 @@ - + - + - + diff --git a/tests/Maw.Cache.Tests/Maw.Cache.Tests.csproj b/tests/Maw.Cache.Tests/Maw.Cache.Tests.csproj index fba42921..4ce0429d 100644 --- a/tests/Maw.Cache.Tests/Maw.Cache.Tests.csproj +++ b/tests/Maw.Cache.Tests/Maw.Cache.Tests.csproj @@ -8,14 +8,14 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Maw.Data.Tests/Maw.Data.Tests.csproj b/tests/Maw.Data.Tests/Maw.Data.Tests.csproj index 2ea7321e..f1b46228 100644 --- a/tests/Maw.Data.Tests/Maw.Data.Tests.csproj +++ b/tests/Maw.Data.Tests/Maw.Data.Tests.csproj @@ -6,7 +6,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Maw.Domain.Models.Tests/Maw.Domain.Models.Tests.csproj b/tests/Maw.Domain.Models.Tests/Maw.Domain.Models.Tests.csproj index 577e73c0..e5d175fa 100644 --- a/tests/Maw.Domain.Models.Tests/Maw.Domain.Models.Tests.csproj +++ b/tests/Maw.Domain.Models.Tests/Maw.Domain.Models.Tests.csproj @@ -8,13 +8,13 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all