mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-1407: Do not show "Clone" button if source user does not yet exist.
This commit is contained in:
@@ -404,7 +404,7 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
|
||||
dataSource = dataSource || selectedDataSource;
|
||||
|
||||
// If we are not editing an existing user, we cannot clone
|
||||
if (!username)
|
||||
if (!$scope.userExists(selectedDataSource))
|
||||
return false;
|
||||
|
||||
// The administrator can always clone users
|
||||
|
Reference in New Issue
Block a user