Skip to content
Snippets Groups Projects
Commit 1688ba91 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

need to specify 'admin' attribute when adding users.

parent b408fc9a
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ AdminPeopleDirectives.directive('cvAdminCreateUser', ['$modal', function ($modal
$scope.submit = function() {
$scope.newUser.orgId = organization.id;
$scope.newUser.admin = false;
Organization.member_create($scope.newUser, function(result) {
CorvusFormService.submitSuccessCallback(formName, submitSuccessMessage);
if (callback) {
......
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