Skip to content

Commit

Permalink
Merge pull request #217 from topcoder-platform/fix/account-activation
Browse files Browse the repository at this point in the history
fix manual user activation
  • Loading branch information
eisbilir authored Oct 6, 2022
2 parents 3afbf13 + 65548e9 commit 2d9450a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/users/users.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ module.controller('users.UserSearchController', [
$scope.activate = function(index) {
$alert.clear();
var user = $scope.users[index];
if(!user.credential || !user.credential.activationCode) {
$alert.error('The user \'' + user.handle + '\' is invalid. Unable to activate it.', $scope);
return;
};

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

0 comments on commit 2d9450a

Please sign in to comment.