mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
Properly error 401 if request is not signed correctly
This commit is contained in:
parent
e75a1a8b70
commit
65b4697229
1 changed files with 4 additions and 0 deletions
|
@ -148,6 +148,10 @@ namespace BTCPayServer.Security
|
|||
storeId = bitToken.StoreId;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return (storeId, false);
|
||||
}
|
||||
}
|
||||
catch (FormatException) { }
|
||||
return (storeId, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue