-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add feature management package. * Enable feature management. * Create Features class. * Add feature gates to login and registration. * Enable all features in example.env. * Update the test workflow with feature env vars. * dotnet format * Remove feature env vars from test workflow. * Enable features by default in appsettings.json. * Remove feature env vars from example.env. * Move Features.cs.
- Loading branch information
Showing
6 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace LeaderboardBackend; | ||
|
||
public static class Features | ||
{ | ||
public const string ACCOUNT_REGISTRATION = "AccountRegistration"; | ||
public const string LOGIN = "Login"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,9 @@ | |
"EmailSender": { | ||
"SenderName": "Leaderboards.gg", | ||
"SenderAddress": "[email protected]" | ||
} | ||
}, | ||
"Feature": { | ||
"AccountRegistration": true, | ||
"Login": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,3 @@ EmailSender__Smtp__Username=User42 | |
EmailSender__Smtp__Password=Password123 | ||
|
||
ADMINER_PORT=1337 | ||
|