Optimize Identity

This commit is contained in:
manzerbredes 2016-02-10 17:55:13 +01:00
parent 65bcc72059
commit bfac821147
2 changed files with 13 additions and 8 deletions

View file

@ -37,10 +37,7 @@ mainApp.controller('loginCtrl', ['$scope','$sce','Identity', function ($scope,$s
$('#failedToLoginAlert').show();
}
else {
$('#loginModal').modal('hide');
Identity.profile.username=username;
Identity.profile.projectname=projectname;
$('#loginModal').modal('hide');
}
// Reset button state