mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 09:03:21 +00:00 
			
		
		
		
	GUAC-1176: Only clear entered passwords - do not delete the fields entirely.
This commit is contained in:
		| @@ -166,8 +166,8 @@ angular.module('login').directive('guacLogin', [function guacLogin() { | ||||
|                     angular.forEach($scope.remainingFields, function clearEnteredValueIfPassword(field) { | ||||
|  | ||||
|                         // Remove entered value only if field is a password field | ||||
|                         if (field.type === Field.Type.PASSWORD) | ||||
|                             delete $scope.enteredValues[field.name]; | ||||
|                         if (field.type === Field.Type.PASSWORD && field.name in $scope.enteredValues) | ||||
|                             $scope.enteredValues[field.name] = ''; | ||||
|  | ||||
|                     }); | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user