gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 86/459: fix client name check #3


From: gnunet
Subject: [reclaim-ui] 86/459: fix client name check #3
Date: Fri, 11 Jun 2021 23:22:58 +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 7e12e16fcbbd55e3760d4fa9a197a6de915075ab
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Jun 25 19:42:11 2019 +0200

    fix client name check #3
---
 src/app/identity-list/identity-list.component.ts | 2 +-
 src/app/open-id.service.ts                       | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index 5f235c5..11ef8e3 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -121,7 +121,7 @@ export class IdentityListComponent implements OnInit {
 
   getClientName()
   {
-    this.clientName = "-";
+    this.clientName = this.oidcService.getClientId();
     this.gnsService.getClientName(this.oidcService.getClientId())
         .subscribe(record => {
           var records = record.data;
diff --git a/src/app/open-id.service.ts b/src/app/open-id.service.ts
index 35c7496..8fd7619 100644
--- a/src/app/open-id.service.ts
+++ b/src/app/open-id.service.ts
@@ -55,6 +55,9 @@ export class OpenIdService {
   }
 
   getClientId(): any {
+    if (!this.inOpenIdFlow()) {
+      return "";
+    }
     return this.params['client_id'];
   }
 

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