summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rwxr-xr-xwww/js/app.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 71a51c00..9a93b0cf 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -1647,7 +1647,11 @@ angular.module('zmApp', [
if (evt.metaKey || evt.ctrlKey) {
if (evt.keyCode == 76) {
evt.preventDefault();
- NVR.log ("****** Lock pressed ******");
+ NVR.log ("---> Lock pressed");
+ if (!NVR.getLogin().usePin) {
+ NVR.log ("not using pin, ignoring");
+ return;
+ }
$ionicHistory.nextViewOptions({
disableAnimate: true
});