Skip to content

Commit

Permalink
Removed check for voterID as the internal voterID can differ from the…
Browse files Browse the repository at this point in the history
… voterID used for login
  • Loading branch information
frog711 committed Oct 18, 2023
1 parent d5c70e8 commit 0b88987
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/verificationtool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class Verificationtool {
if (!await checkSecondDeviceParameters(this._secondDeviceLoginResponse.initialMessageDecoded.secondDeviceParameter)) {
return await this.resolveFail(ErrorType.SDPP)
}
if (this._secondDeviceLoginResponse.ballotVoterId !== voterId) {
return await this.resolveFail(ErrorType.VID)
}
//if (this._secondDeviceLoginResponse.ballotVoterId !== voterId) {

Check failure on line 53 in src/main/verificationtool.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Expected space or tab after '//' in comment
// return await this.resolveFail(ErrorType.VID)
//}

Check failure on line 55 in src/main/verificationtool.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Expected space or tab after '//' in comment
let validAck = false
try {
validAck = await checkSignature(this._secondDeviceLoginResponse)
Expand Down

0 comments on commit 0b88987

Please sign in to comment.