small fixes, because it did not compile here
This commit is contained in:
parent
a769c98650
commit
4cfa75265e
1 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ public class RegistrationMosparo implements FormAction, FormActionFactory {
|
|||
}
|
||||
|
||||
private String getMosparoHostname(AuthenticatorConfigModel config) {
|
||||
return config.getConfig().get(MOSPARO_HOST);
|
||||
return "https://" + config.getConfig().get(MOSPARO_HOST);
|
||||
}
|
||||
|
||||
protected boolean verifyFormData(ValidationContext context, MultivaluedMap<String, String> formData) throws NoSuchAlgorithmException, IOException, InvalidKeyException {
|
||||
|
@ -184,7 +184,7 @@ public class RegistrationMosparo implements FormAction, FormActionFactory {
|
|||
continue;
|
||||
}
|
||||
|
||||
String value = entry.getValue().getFirst();
|
||||
String value = entry.getValue().get(0);
|
||||
preparedFormData.put(entry.getKey(), value.replace("\r\n", "\n"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue