This commit is contained in:
Nunzio Andrea Galante 2017-07-25 12:17:52 +00:00
parent 389446757f
commit 83fcaf3808
1 changed files with 8 additions and 6 deletions

View File

@ -133,6 +133,7 @@ public class SendMail extends StandardLocalInfraAlgorithm {
public String getAdmins() throws Exception {
try{
List<String> s = new LinkedList<String>();
JSONObject obj = new JSONObject(this.getAdminRoles());
JSONArray data = obj.getJSONArray("result");
@ -145,12 +146,13 @@ public class SendMail extends StandardLocalInfraAlgorithm {
s.add(this.username(SecurityTokenProvider.instance.get()));
***REMOVED***
return s.toString().replace("[", "").replace("]", "");
***REMOVED***
***REMOVED***
catch(Exception a){return "ngalante, lucio.lelii, roberto.cirillo, gianpaolo.coro, giancarlo.panichi, scarponi"; ***REMOVED***
***REMOVED***
public String getRootToken() throws Exception {