Skip to content
Snippets Groups Projects
Commit b90a6b89 authored by Brian Major's avatar Brian Major
Browse files
parents 21719714 04f57abf
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ import ca.nrc.cadc.ac.User;
import ca.nrc.cadc.ac.server.UserPersistence;
import ca.nrc.cadc.auth.HttpPrincipal;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
import java.security.Principal;
......@@ -107,6 +108,7 @@ public class ModifyUserAction extends UsersAction
}
else
{
response.setStatus(HttpServletResponse.SC_OK);
redirectGet(httpPrincipals.toArray(
new HttpPrincipal[1])[0].getName());
}
......
......@@ -92,7 +92,7 @@ public class UserRequestReader
{
if (json == null)
{
throw new IllegalArgumentException("XML must not be null");
throw new IllegalArgumentException("JSON must not be null");
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment