Skip to content

Commit

Permalink
fix authentication removed
Browse files Browse the repository at this point in the history
Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
  • Loading branch information
F-Node-Karlsruhe committed Jun 22, 2023
1 parent 8fdd4e6 commit 50ffda1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ WIP



1.6.2 (2023-06-22)
---

- fix authentication removed after disclosure


1.6.1 (2023-06-22)
---

Expand Down
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vc-verifier",
"version": "1.6.1",
"version": "1.6.2",
"description": "The EECC verifier for verifiable credentials which provides an verification API as well as the corresponding UI.",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "verifier_frontend",
"version": "1.6.1",
"version": "1.6.2",
"description": "Vue frontend for the EECC vc verifier API",
"scripts": {
"build": "vue-cli-service build",
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/components/DiscloseModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,9 @@ export default {
updateDemoAuth(event) {
this.useDemoAuth = event.target.checked;
this.authentication = this.useDemoAuth ? this.demoAuth : undefined;
console.log(this.authentication)
},
requestDisclosure() {
this.$store.dispatch("makeAuthenticatedRequest", { url: this.requestURL, authPresentation: this.authentication });
this.authentication = undefined;
Modal.getInstance(document.getElementById(this.id)).hide()
}
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { demoAuthPresentation } from './demoAuth';

export default createStore({
state: {
version: '1.6.1',
version: '1.6.2',
authentication: demoAuthPresentation,
verifiables: [],
disclosedCredentials: [],
Expand Down

0 comments on commit 50ffda1

Please sign in to comment.