4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

Removed enableManagement logic in ApiKeyUtils as it is no longer needed, and was creating problems on testnet.

This commit is contained in:
CalDescent 2022-02-25 12:20:50 +00:00
parent c85521bf45
commit 07c7c8d4bc

View File

@ -6,11 +6,6 @@ import mykey from './functional-components/mykey-page.js'
export const checkApiKey = async (nodeConfig) => {
let selectedNode = nodeConfig.knownNodes[nodeConfig.node];
if (selectedNode.enableManagement === false) {
console.log("Skipping API key check because enableManagement is false");
return;
}
let apiKey = selectedNode.apiKey;
// Attempt to generate an API key