gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 250/459: fix


From: gnunet
Subject: [reclaim-ui] 250/459: fix
Date: Fri, 11 Jun 2021 23:25:42 +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 c2d6414104bf334e12a790106e504f524eeff81c
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Thu Jul 30 21:27:52 2020 +0200

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

diff --git a/src/app/open-id.service.ts b/src/app/open-id.service.ts
index d0b5986..07cc027 100644
--- a/src/app/open-id.service.ts
+++ b/src/app/open-id.service.ts
@@ -106,6 +106,10 @@ export class OpenIdService {
     if (!this.inOpenIdFlow()) {
       return [];
     }
+    if (this.params['scope'] ==== "" || this.params['scope'] === undefined) {
+      return [];
+    }
+
     const scopes = this.params['scope'].split(' ');
     const i = scopes.indexOf('openid');
     scopes.splice(i, 1);
@@ -116,7 +120,7 @@ export class OpenIdService {
     if (!this.inOpenIdFlow()) {
       return [];
     }
-    if (this.params['claims'] === undefined) {
+    if (this.params['claims'] ==== "" || this.params['claims'] === undefined) {
       return [];
     }
     var scope = [];

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