Never use default AuthenticationScheme

This commit is contained in:
nicolas.dorier
2019-06-08 12:41:44 +09:00
parent fb530f2b34
commit ca5be7e38d
2 changed files with 2 additions and 2 deletions

View File

@@ -488,7 +488,7 @@ namespace BTCPayServer.Controllers
[HttpPost]
[Route("{walletId}/rescan")]
[Authorize(Policy = Policies.CanModifyServerSettings.Key)]
[Authorize(Policy = Policies.CanModifyServerSettings.Key, AuthenticationSchemes = Policies.CookieAuthentication)]
public async Task<IActionResult> WalletRescan(
[ModelBinder(typeof(WalletIdModelBinder))]
WalletId walletId, RescanWalletModel vm)