Github user GERey commented on a diff in the pull request:
https://github.com/apache/incubator-usergrid/pull/230#discussion_r28635118
--- Diff:
stack/rest/src/main/java/org/apache/usergrid/rest/management/users/UserResource.java
---
@@ -355,6 +389,14 @@ public JSONWithPadding reactivate( @Context UriInfo ui,
@QueryParam( "callback" )
@DefaultValue( "callback" ) String callback )
throws Exception {
+ final boolean externalTokensEnabled =
+ !StringUtils.isEmpty( properties.getProperty(
ManagementResource.USERGRID_CENTRAL_URL ) );
+
+ if ( externalTokensEnabled ) {
+ throw new IllegalArgumentException( "Admin Users must
reactiveate via " +
--- End diff --
typo
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---