Revize 67b78641
Přidáno uživatelem Jan Pašek před téměř 4 roky(ů)
static/js/utilities.js | ||
---|---|---|
120 | 120 |
password: passphrase |
121 | 121 |
} |
122 | 122 |
const response = await axios.post(API_URL + "certificates/" + id + "/identity", identityData); |
123 |
if (response.data["success"]) { |
|
124 |
download(name + ".p12", response.data["data"]) |
|
125 |
} else |
|
126 |
console.log("Error occurred while downloading the identity") // TODO more action may be required |
|
123 |
download(name + ".p12", response.data) |
|
127 | 124 |
} catch (error) { |
128 | 125 |
console.log(error); |
129 | 126 |
} |
Také k dispozici: Unified diff
Re #8706 - Fix of downloading PKCS#12