[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 83/459: prevent authorization on unverified clients
From: |
gnunet |
Subject: |
[reclaim-ui] 83/459: prevent authorization on unverified clients |
Date: |
Fri, 11 Jun 2021 23:22:55 +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 4ce9574f8a4ff4e79d4af887d8c3af98d730fb13
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Fri Jun 14 10:13:33 2019 +0200
prevent authorization on unverified clients
---
src/app/identity-list/identity-list.component.html | 5 +++--
src/app/identity-list/identity-list.component.ts | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/app/identity-list/identity-list.component.html
b/src/app/identity-list/identity-list.component.html
index de3c336..defe008 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -216,8 +216,9 @@
<div>
<div>
- <button *ngIf="canAuthorize(identity)" [disabled]="!inOpenIdFlow()
|| isAttributeMissing(identity)" (click)="loginIdentity(identity)" class="btn
btn-primary mr-1 openid-login">
- <span class="fa fa-openid"></span> Share from this
identity</button>
+ <button *ngIf="canAuthorize(identity)" [disabled]="!inOpenIdFlow()
|| isAttributeMissing(identity) || !clientNameFound"
(click)="loginIdentity(identity)" class="btn btn-primary mr-1 openid-login">
+ <span *ngIf="!clientNameFound"><i class="fa fa-circle-o-notch
fa-spin fa-fw"></i> Verifying remote party</span>
+ <span *ngIf="clientNameFound" class="fa fa-openid"></span> Share
from this identity</button>
</div>
</div>
<div>
diff --git a/src/app/identity-list/identity-list.component.ts
b/src/app/identity-list/identity-list.component.ts
index 7817904..0ac4906 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -476,7 +476,7 @@ export class IdentityListComponent implements OnInit {
getMissingPretty(identity) { return this.getMissing(identity).join(", "); }
canAuthorize(identity)
{
- return this.inOpenIdFlow() && !this.isInEdit(identity);
+ return this.inOpenIdFlow() && !this.isInEdit(identity) &&
this.clientNameFound;
}
isRequested(identity, attribute)
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 82/459: fix missing div, (continued)
- [reclaim-ui] 82/459: fix missing div, gnunet, 2021/06/11
- [reclaim-ui] 73/459: add padding for header, gnunet, 2021/06/11
- [reclaim-ui] 86/459: fix client name check #3, gnunet, 2021/06/11
- [reclaim-ui] 76/459: openid logo properly placed, gnunet, 2021/06/11
- [reclaim-ui] 78/459: Merge branch 'ticket_list' into 'master', gnunet, 2021/06/11
- [reclaim-ui] 72/459: change wording, gnunet, 2021/06/11
- [reclaim-ui] 67/459: removal of unused import, gnunet, 2021/06/11
- [reclaim-ui] 70/459: add spinner, gnunet, 2021/06/11
- [reclaim-ui] 68/459: Merge branch 'offline_overlay' into 'master', gnunet, 2021/06/11
- [reclaim-ui] 79/459: polish ui, gnunet, 2021/06/11
- [reclaim-ui] 83/459: prevent authorization on unverified clients,
gnunet <=
- [reclaim-ui] 60/459: update dependencies, gnunet, 2021/06/11
- [reclaim-ui] 71/459: change authz request, gnunet, 2021/06/11
- [reclaim-ui] 85/459: fix client name check #2, gnunet, 2021/06/11
- [reclaim-ui] 87/459: fix client name check #4, gnunet, 2021/06/11
- [reclaim-ui] 64/459: update deps, gnunet, 2021/06/11
- [reclaim-ui] 90/459: clarify state, gnunet, 2021/06/11
- [reclaim-ui] 94/459: minor, gnunet, 2021/06/11
- [reclaim-ui] 93/459: update ui, gnunet, 2021/06/11
- [reclaim-ui] 88/459: prettify information, gnunet, 2021/06/11
- [reclaim-ui] 75/459: ticket list fixed attributes and added revoke confirmation, gnunet, 2021/06/11