moved discord app secret to file and changed it
This commit is contained in:
parent
e72b4daf51
commit
660eadfbe2
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
});
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
}
|
||||
},
|
||||
"Discord": {
|
||||
"AppId": "942448872335220806",
|
||||
"AppSecret": "5tsNxK9LtFpNqxqQnLkSJ1B0HJ7P7YUF"
|
||||
"AppId": "942448872335220806"
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"ConnectionStrings": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue