mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
fixed so validation of empty fields works again
This commit is contained in:
parent
050902a1e7
commit
1a2ab532d1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user