diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-31 11:18:19 -0400 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-31 11:18:19 -0400 |
| commit | d0bc0c60e3470a8bb02df22dcdadf31275cd86da (patch) | |
| tree | 6b2616604355e092a5aeb950855ebc38c0d52439 | |
| parent | b20e0e323bf95ad32520f012bb404efec7d9fed1 (diff) | |
when running in desktop don't offer pin protection #59
| -rw-r--r-- | www/templates/login.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/www/templates/login.html b/www/templates/login.html index f48a0775..64c1bca6 100644 --- a/www/templates/login.html +++ b/www/templates/login.html @@ -71,17 +71,19 @@ + <div ng-if="$root.platformOS != 'unknown'"> + <label> - <label> - <ion-toggle ng-model="loginData.usePin" ng-change="pinPrompt();" - ng-checked="{{loginData.usePin}}" - toggle-class="toggle-calm">Password protect</ion-toggle> - </label> + <ion-toggle ng-model="loginData.usePin" ng-change="pinPrompt();" + ng-checked="{{loginData.usePin}}" + toggle-class="toggle-calm">Password protect</ion-toggle> + </label> + </div> <label> <ion-toggle ng-model="loginData.useSSL" ng-checked="{{loginData.useSSL}}" - toggle-class="toggle-calm">Use SSL <span ng-if="$root.platformOS == 'unknown'">(does not work in desktop)</span></ion-toggle> + toggle-class="toggle-calm">Use SSL</ion-toggle> </label> <div ng-if="$root.platformOS != 'unknown'"> |
