show if user is not activated yet
This commit is contained in:
@@ -333,7 +333,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
$scope.userremove.error.username = null;
|
||||
$scope.userremove.error.password = null;
|
||||
|
||||
if ($scope.userremove.username !== $scope.userremove.userInfo.username && $scope.userremove.username !== $scope.userremove.userInfo.email) {
|
||||
if ($scope.userremove.username !== $scope.userremove.userInfo.username && $scope.userremove.username !== $scope.userremove.userInfo.email && $scope.userremove.username !== $scope.userremove.userInfo.alternateEmail) {
|
||||
$scope.userremove.error.username = true;
|
||||
$scope.userremove.username = '';
|
||||
$scope.userremove_form.username.$setPristine();
|
||||
|
||||
Reference in New Issue
Block a user