From 4423fc59f29d27b46d921927bcfc1486fe5807d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vegard=20L=C3=B8kken?= Date: Sun, 28 Jan 2024 09:39:11 +0100 Subject: [PATCH] Remove feature flag for deauthorizing athlete This feature was completed in commit d0c52c91. --- Tevling/FeatureFlag.cs | 1 - Tevling/Pages/Profile.razor | 12 +++++------- Tevling/appsettings.Development.json | 3 +-- Tevling/appsettings.json | 3 +-- 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/Tevling/FeatureFlag.cs b/Tevling/FeatureFlag.cs index 53c16e9..f8f80f0 100644 --- a/Tevling/FeatureFlag.cs +++ b/Tevling/FeatureFlag.cs @@ -8,7 +8,6 @@ public sealed class FeatureFlag { // NB! These names should match those in appsettings.json. public const string DevTools = "DevTools"; - public const string Deauthorize = "Deauthorize"; private readonly string _featureFlag; diff --git a/Tevling/Pages/Profile.razor b/Tevling/Pages/Profile.razor index ddf494c..dc30fcd 100644 --- a/Tevling/Pages/Profile.razor +++ b/Tevling/Pages/Profile.razor @@ -37,10 +37,8 @@

If using a public/shared computer, please remember to sign out.

Sign out

- -
-

Delete account

-

Delete user account and deauthorize application. All data will be removed.
- NB! This cannot be undone!

-

Forget me

-
+
+

Delete account

+

Delete user account and deauthorize application. All data will be removed.
+NB! This cannot be undone!

+

Forget me

diff --git a/Tevling/appsettings.Development.json b/Tevling/appsettings.Development.json index ca5d6f0..b7c9744 100644 --- a/Tevling/appsettings.Development.json +++ b/Tevling/appsettings.Development.json @@ -8,7 +8,6 @@ "TokenUri": "http://localhost:5134/dev/strava/token" }, "FeatureManagement": { - "DevTools": true, - "Deauthorize": true + "DevTools": true } } diff --git a/Tevling/appsettings.json b/Tevling/appsettings.json index 45de1f1..b76a586 100644 --- a/Tevling/appsettings.json +++ b/Tevling/appsettings.json @@ -57,7 +57,6 @@ "Scope": "read,activity:read" }, "FeatureManagement": { - "DevTools": false, - "Deauthorize": false + "DevTools": false } }