debug gitea content

This commit is contained in:
jeffcheasey88 2023-09-09 21:17:42 +02:00
parent 58d890737d
commit 514452c295

View file

@ -124,6 +124,7 @@ public class MailConfirmation extends FormResponse {
post("https://git-users.peerat.dev/api/v1/admin/users/", createUser); post("https://git-users.peerat.dev/api/v1/admin/users/", createUser);
JSONObject sendKey = new JSONObject(); JSONObject sendKey = new JSONObject();
System.out.println("ssh-rsa "+new String(encoder.encode(pair.getPrivate().getEncoded())));
sendKey.put("key", "ssh-rsa "+new String(encoder.encode(pair.getPrivate().getEncoded()))); sendKey.put("key", "ssh-rsa "+new String(encoder.encode(pair.getPrivate().getEncoded())));
sendKey.put("read_only", false); sendKey.put("read_only", false);
sendKey.put("title", "peer_at_code_auto_push_key_"+pseudo); sendKey.put("title", "peer_at_code_auto_push_key_"+pseudo);