mirror of
https://github.com/element-hq/element-desktop
synced 2025-03-15 08:53:31 +01:00
Fixed indentation
This commit is contained in:
parent
dc6ffb605a
commit
b2fc1f114a
@ -993,7 +993,7 @@ app.on('select-client-certificate', (event, webContents, url, list, callback) =>
|
|||||||
|
|
||||||
if (clientCertFingerprint) {
|
if (clientCertFingerprint) {
|
||||||
let found = false
|
let found = false
|
||||||
for (const cert of list) {
|
for (const cert of list) {
|
||||||
if (cert.fingerprint === clientCertFingerprint) {
|
if (cert.fingerprint === clientCertFingerprint) {
|
||||||
console.log('Selected client certificate ' + cert.fingerprint)
|
console.log('Selected client certificate ' + cert.fingerprint)
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
@ -1005,7 +1005,7 @@ app.on('select-client-certificate', (event, webContents, url, list, callback) =>
|
|||||||
if(found === false) {
|
if(found === false) {
|
||||||
console.log('No certificate found')
|
console.log('No certificate found')
|
||||||
}
|
}
|
||||||
} else if (clientCertPickFirst === true && list.length > 0) {
|
} else if (clientCertPickFirst === true && list.length > 0) {
|
||||||
console.log('Selected first available client certificate ' + list[0].fingerprint)
|
console.log('Selected first available client certificate ' + list[0].fingerprint)
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
callback(list[0])
|
callback(list[0])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user