gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[reclaim-ui] 404/459: fix


From: gnunet
Subject: [reclaim-ui] 404/459: fix
Date: Fri, 11 Jun 2021 23:28:16 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.

commit 6d9604eb677fdbb763321e87135727ee2925b8b8
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Tue Jan 5 16:20:45 2021 +0900

    fix
---
 src/app/open-id.service.ts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/app/open-id.service.ts b/src/app/open-id.service.ts
index 50e6466..941229f 100644
--- a/src/app/open-id.service.ts
+++ b/src/app/open-id.service.ts
@@ -53,6 +53,9 @@ export class OpenIdService {
   }
 
   getState() {
+    if (!this.clientNameVerified) {
+      return "";
+    }
     return JSON.stringify(this.params);
   }
 
@@ -60,6 +63,7 @@ export class OpenIdService {
     try {
       let state = JSON.parse(state_string);
       this.parseRouteParams(state);
+      this.clientNameVerified = true;
     } catch(e) {
       console.log("ERROR: unable to load state " + state_string + " " + e);
     }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]