Skip to content

Commit 65548e9

Browse files
committed
fix manual user activation
1 parent 3afbf13 commit 65548e9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/app/users/users.controller.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,6 @@ module.controller('users.UserSearchController', [
114114
$scope.activate = function(index) {
115115
$alert.clear();
116116
var user = $scope.users[index];
117-
if(!user.credential || !user.credential.activationCode) {
118-
$alert.error('The user \'' + user.handle + '\' is invalid. Unable to activate it.', $scope);
119-
return;
120-
};
121117

122118
var confirmation = 'Are you sure you want to activate user \'' + user.handle + '\'?';
123119
if(!user.emailActive) {

0 commit comments

Comments
 (0)