gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 375/459: blacklist some claims


From: gnunet
Subject: [reclaim-ui] 375/459: blacklist some claims
Date: Fri, 11 Jun 2021 23:27: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 ab336d82cf36654a14c3e7f2c8530bfe4b4ef54d
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Dec 25 22:02:03 2020 +0900

    blacklist some claims
---
 src/app/identity-list/identity-list.component.ts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index 94805a9..34c3f09 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -410,6 +410,14 @@ export class IdentityListComponent implements OnInit {
     var claims = this.oidcService.getClaimNamesForRequest();
     for (var claim of claims) {
       let found = false;
+      if ((claim == "preferred_username") ||
+          (claim == "middle_name") ||
+          (claim == "nickname") ||
+          (claim == "picture") ||
+          (claim == "website")) {
+        //We ignore those claims in notifications
+        continue;
+      }
       for (let attr of this.getAttributesForIdentity(identity)) {
         if (claim === attr.name) {
           found = true;

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