moved discord app secret to file and changed it

This commit is contained in:
Sarah Faey 2022-11-22 23:22:57 +01:00
parent e72b4daf51
commit 660eadfbe2
3 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ builder.Services.AddAuthentication(opt =>
.AddDiscord(x =>
{
x.AppId = builder.Configuration["Discord:AppId"];
x.AppSecret = builder.Configuration["Discord:AppSecret"];
x.AppSecret = File.ReadAllText("discordAppSecret.txt");
x.SaveTokens = true;
});