Misc updates

This commit is contained in:
Mo Bitar
2018-07-07 14:32:47 -05:00
parent 6fdea5ed37
commit e53d3723c6
3 changed files with 6 additions and 1 deletions

View File

@@ -14,6 +14,9 @@ class LockScreen {
$scope.formData = {};
$scope.submitPasscodeForm = function() {
if(!$scope.formData.passcode || $scope.formData.passcode.length == 0) {
return;
}
passcodeManager.unlock($scope.formData.passcode, (success) => {
if(!success) {
alert("Invalid passcode. Please try again.");