From 263af71d90cc3d21c1a401025e264a4ec6edebab Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sun, 13 Apr 2014 17:19:11 -0400 Subject: [PATCH] Removed if-check for local auth on change password form --- views/account/profile.jade | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/views/account/profile.jade b/views/account/profile.jade index 56797ec00b..3f5fdbe812 100644 --- a/views/account/profile.jade +++ b/views/account/profile.jade @@ -41,26 +41,24 @@ block content i.fa.fa-magnet | Update Profile + .page-header + h3 Change Password - if secrets.localAuth - .page-header - h3 Change Password - - form.form-horizontal(action='/account/password', method='POST') - input(type='hidden', name='_csrf', value=_csrf) - .form-group - label.col-sm-3.control-label(for='password') New Password - .col-sm-4 - input.form-control(type='password', name='password', id='password') - .form-group - label.col-sm-3.control-label(for='confirmPassword') Confirm Password - .col-sm-4 - input.form-control(type='password', name='confirmPassword', id='confirmPassword') - .form-group - .col-sm-offset-3.col-sm-4 - button.btn.btn.btn-primary(type='submit') - i.fa.fa-keyboard-o - | Change Password + form.form-horizontal(action='/account/password', method='POST') + input(type='hidden', name='_csrf', value=_csrf) + .form-group + label.col-sm-3.control-label(for='password') New Password + .col-sm-4 + input.form-control(type='password', name='password', id='password') + .form-group + label.col-sm-3.control-label(for='confirmPassword') Confirm Password + .col-sm-4 + input.form-control(type='password', name='confirmPassword', id='confirmPassword') + .form-group + .col-sm-offset-3.col-sm-4 + button.btn.btn.btn-primary(type='submit') + i.fa.fa-keyboard-o + | Change Password .page-header h3 Delete Account