Fixed alerts on login form.
This commit is contained in:
parent
c30116f5c1
commit
5a1317eb19
@ -846,6 +846,7 @@ angular.module('OpenSlidesApp.users.site', ['OpenSlidesApp.users'])
|
|||||||
$scope.guestAllowed = $stateParams.guest_enabled;
|
$scope.guestAllowed = $stateParams.guest_enabled;
|
||||||
// login
|
// login
|
||||||
$scope.login = function () {
|
$scope.login = function () {
|
||||||
|
$scope.alerts = [];
|
||||||
$http.post(
|
$http.post(
|
||||||
'/users/login/',
|
'/users/login/',
|
||||||
{'username': $scope.username, 'password': $scope.password}
|
{'username': $scope.username, 'password': $scope.password}
|
||||||
|
Loading…
Reference in New Issue
Block a user