Fixed alerts on login form.

This commit is contained in:
Norman Jäckel 2016-01-10 00:38:59 +01:00
parent c30116f5c1
commit 5a1317eb19
1 changed files with 1 additions and 0 deletions

View File

@ -846,6 +846,7 @@ angular.module('OpenSlidesApp.users.site', ['OpenSlidesApp.users'])
$scope.guestAllowed = $stateParams.guest_enabled;
// login
$scope.login = function () {
$scope.alerts = [];
$http.post(
'/users/login/',
{'username': $scope.username, 'password': $scope.password}