Authenticating a user via the API results in an NPE.
Using spigotsite-api version 0.3.2-SNAPSHOT and spigotsite version 0.4.1-SNAPSHOT.
Authentication:
spigotUser = spigotSiteCore.getUserManager().authenticate(
username,
password,
twofa
);
Causing
java.lang.NullPointerException
at be.maximvdw.spigotsite.user.SpigotUserManager.authenticate(SpigotUserManager.java:101)
at be.maximvdw.spigotsite.user.SpigotUserManager.authenticate(SpigotUserManager.java:78)
Caused by the response values being null. Exceptions occurs here:
if (res.getResponseURL().toString().startsWith("https://www.spigotmc.org/login/two-step")) {
Where the response is:

Similar to issue #13 with some extra details.
Authenticating a user via the API results in an NPE.
Using spigotsite-api version 0.3.2-SNAPSHOT and spigotsite version 0.4.1-SNAPSHOT.
Authentication:
Causing
Caused by the response values being null. Exceptions occurs here:
Where the response is:

Similar to issue #13 with some extra details.