gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 84/459: fix client name check


From: gnunet
Subject: [reclaim-ui] 84/459: fix client name check
Date: Fri, 11 Jun 2021 23:22:56 +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 281d6bb001f6cd758329a16775b0588b7b3079f5
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Jun 25 19:33:21 2019 +0200

    fix client name check
---
 src/app/identity-list/identity-list.component.ts | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index 0ac4906..276fbf4 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -121,10 +121,7 @@ export class IdentityListComponent implements OnInit {
 
   getClientName()
   {
-    if (!this.inOpenIdFlow()) {
-      this.clientName = "-";
-      return;
-    }
+    this.clientName = "-";
     this.clientName = this.oidcService.getClientId();
     this.gnsService.getClientName(this.oidcService.getClientId())
         .subscribe(record => {
@@ -476,7 +473,7 @@ export class IdentityListComponent implements OnInit {
   getMissingPretty(identity) { return this.getMissing(identity).join(", "); }
   canAuthorize(identity)
   {
-    return this.inOpenIdFlow() && !this.isInEdit(identity) && 
this.clientNameFound;
+    return this.inOpenIdFlow() && !this.isInEdit(identity) && 
this.clientNameFound();
   }
   isRequested(identity, attribute)
   {

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