Commit b90a6b89 authored by Brian Major's avatar Brian Major
Browse files
parents 21719714 04f57abf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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());
        }
+1 −1
Original line number Diff line number Diff line
@@ -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
        {