Commit 1a2ab532 by Patrick O'Carroll

fixed so validation of empty fields works again

parent 050902a1
......@@ -102,11 +102,11 @@ export class LoginCtrl {
$scope.login = function() {
delete $scope.loginError;
$scope.loggingIn = true;
if (!$scope.loginForm.$valid) {
return;
}
$scope.loggingIn = true;
backendSrv
.post('/login', $scope.formModel)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment