Fixed remember login option

This commit is contained in:
Ludovic Marcotte authored and Francis Lachapelle committed 2015-06-12 10:50:00 -04:00
1 parent 23ce8904a9
commit b9e7e24344
2 files changed
+6 -2

No files matched your search

+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)