Browse Source

improving clients page

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
main
Stephan Richter 1 month ago
parent
commit
3b6e951ccd
  1. 2
      de.srsoftware.oidc.datastore.file/src/main/java/de/srsoftware/oidc/datastore/file/FileStore.java
  2. 2
      de.srsoftware.oidc.web/src/main/resources/en/scripts/clients.js

2
de.srsoftware.oidc.datastore.file/src/main/java/de/srsoftware/oidc/datastore/file/FileStore.java

@ -84,7 +84,7 @@ public class FileStore implements AuthorizationService, ClientService, SessionSe @@ -84,7 +84,7 @@ public class FileStore implements AuthorizationService, ClientService, SessionSe
client.remove(scope);
}
}
if (client.isEmpty()) clients.remove(clientId);
// if (client.isEmpty()) clients.remove(clientId); // keep client as mark for ClientController.dash
}
if (clients.isEmpty()) authorizations.remove(userId);
}

2
de.srsoftware.oidc.web/src/main/resources/en/scripts/clients.js

@ -28,7 +28,7 @@ function handleClients(response){ @@ -28,7 +28,7 @@ function handleClients(response){
}
function link(url){
return url ? '<a href="'+url+'">'+url.split('?')[0]+'</a>': "";
return url ? '<a href="'+url+'" target="_blank">'+url.split('?')[0]+'</a>': "";
}
function handleRemove(response){

Loading…
Cancel
Save