mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-1161: Set page title when login directive is shown.
This commit is contained in:
		| @@ -110,11 +110,15 @@ angular.module('index').controller('indexController', ['$scope', '$injector', | ||||
|  | ||||
|     // Display login screen if a whole new set of credentials is needed | ||||
|     $scope.$on('guacInvalidCredentials', function loginInvalid(event, parameters, expected) { | ||||
|         $scope.page.title = 'APP.NAME'; | ||||
|         $scope.page.bodyClassName = ''; | ||||
|         $scope.expectedCredentials = expected; | ||||
|     }); | ||||
|  | ||||
|     // Prompt for remaining credentials if provided credentials were not enough | ||||
|     $scope.$on('guacInsufficientCredentials', function loginInsufficient(event, parameters, expected) { | ||||
|         $scope.page.title = 'APP.NAME'; | ||||
|         $scope.page.bodyClassName = ''; | ||||
|         $scope.expectedCredentials = expected; | ||||
|     }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user