Fixed remember login option

This commit is contained in:
Ludovic Marcotte
2015-02-13 14:30:24 -05:00
committed by Francis Lachapelle
parent 23ce8904a9
commit b9e7e24344
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
.controller('loginController', ['$scope', '$mdDialog', 'Authentication', function($scope, $mdDialog, Authentication) {
$scope.warning = false;
$scope.creds = { username: null, password: null };
$scope.creds = { username: cookieUsername, password: null };
$scope.login = function(creds) {
$scope.warning = false;
Authentication.login(creds)