gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 195/459: fix parsing claims parameter


From: gnunet
Subject: [reclaim-ui] 195/459: fix parsing claims parameter
Date: Fri, 11 Jun 2021 23:24:47 +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 7899ffb6c816d59b7c125e54a52227e6f934db13
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue May 5 09:46:01 2020 +0200

    fix parsing claims parameter
---
 src/app/open-id.service.ts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/app/open-id.service.ts b/src/app/open-id.service.ts
index 12f2279..d0b5986 100644
--- a/src/app/open-id.service.ts
+++ b/src/app/open-id.service.ts
@@ -116,6 +116,9 @@ export class OpenIdService {
     if (!this.inOpenIdFlow()) {
       return [];
     }
+    if (this.params['claims'] === undefined) {
+      return [];
+    }
     var scope = [];
     var json = JSON.parse(this.params['claims'])['userinfo'];
     for(var key in json)

-- 
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]