gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 409/459: fix scope name


From: gnunet
Subject: [reclaim-ui] 409/459: fix scope name
Date: Fri, 11 Jun 2021 23:28:21 +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 01cfa1daccb6eab52dad6b5e0bf8250c28f83415
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Tue Jan 5 19:22:25 2021 +0900

    fix scope name
---
 src/app/edit-identity/edit-identity.component.html | 2 +-
 src/app/open-id.service.ts                         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/edit-identity/edit-identity.component.html 
b/src/app/edit-identity/edit-identity.component.html
index 8a315be..592c75e 100644
--- a/src/app/edit-identity/edit-identity.component.html
+++ b/src/app/edit-identity/edit-identity.component.html
@@ -297,7 +297,7 @@
         <span class="fa fa-arrow-left"></span> {{ getMessage("Back") }}
       </button>
       <button *ngIf="oidcService.inOpenIdFlow()" 
[disabled]="!isClientVerified() || attributes.length <= 0" 
(click)="loginIdentity(identity)"
-        class="btn btn-success btn-lg mr-1 openid-login">
+        class="btn btn-success mr-1 openid-login">
         <span *ngIf="isClientVerified() && attributes.length > 0">{{ 
getMessage("identity_list_html@shareInfo1") }} <i
             class="fa fa-share-alt"></i> {{ 
getMessage("identity_list_html@shareInfo2") }}</span>
         <span *ngIf="!isClientVerified() || attributes.length <= 0"><i 
class="fa fa-exclamation-circle"></i>
diff --git a/src/app/open-id.service.ts b/src/app/open-id.service.ts
index 941229f..ae6f723 100644
--- a/src/app/open-id.service.ts
+++ b/src/app/open-id.service.ts
@@ -293,7 +293,7 @@ export class OpenIdService {
     if (scopes.includes("address")) {
       result = result.concat(Object.keys(this.getStandardAddressClaims()));
     }
-    if (scopes.includes("phone_number")) {
+    if (scopes.includes("phone")) {
       result = result.concat(Object.keys(this.getStandardPhoneClaims()));
     }
     result = result.concat(this.getRequestedNonStandardClaims());

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