From 0f3202f964a155e4dc44e0a9fb2f0751d32090c1 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Tue, 31 Dec 2013 20:00:15 -0700 Subject: [PATCH] #2200 change-password is showing for facebook-registered users for some reason --- views/options/settings.jade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/options/settings.jade b/views/options/settings.jade index b74cf26481..5a5f542f01 100644 --- a/views/options/settings.jade +++ b/views/options/settings.jade @@ -48,7 +48,8 @@ script(type='text/ng-template', id='partials/options.settings.settings.html') div(ng-if='!user.preferences.disableClasses') button.btn(ng-click='showClassesTour()', popover-trigger='mouseenter', popover-placement='right', popover="Show the tour for using the class system.") Show Classes Tour - div(ng-show='user.auth.local') + //- Why is ng-if='user.auth.local' validating for users *without* user.auth.local (facebook users)? adding .username here for extra + div(ng-if='user.auth.local.username') hr h4 Change Password form(ng-submit='changePassword(changePass)', ng-show='user.auth.local')