Skip to content

Commit

Permalink
Added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mans4singh committed Dec 23, 2016
1 parent 6578099 commit 052d645
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ public Response removeUserFromSuperAdmin(
@ApiParam(value = EXAMPLE_AUTHORIZATION_HEADER, required = true)
final String authorizationHeader) {

LOGGER.debug("Removing user {} from superadmin ", userID);

// Check for assigning user is superadmin
Username assigningUser = authorization.getUser(authorizationHeader);
UserInfo assigninUserInfo = authorization.getUserInfo(assigningUser);
Expand Down

0 comments on commit 052d645

Please sign in to comment.