From 22e369804b2a6ed82a6da2c469519cd7252693a0 Mon Sep 17 00:00:00 2001 From: Thuan Pham Quoc Date: Fri, 1 Dec 2017 15:55:53 +0700 Subject: Allow admin to change user password in admin panel --- client/components/settings/peopleBody.jade | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client/components/settings/peopleBody.jade') diff --git a/client/components/settings/peopleBody.jade b/client/components/settings/peopleBody.jade index d6568720..a3506a24 100644 --- a/client/components/settings/peopleBody.jade +++ b/client/components/settings/peopleBody.jade @@ -67,9 +67,6 @@ template(name="editUserPopup") span.error.hide.username-taken | {{_ 'error-username-taken'}} input.js-profile-username(type="text" value=user.username) - label - | {{_ 'initials'}} - input.js-profile-initials(type="text" value=user.profile.initials) label | {{_ 'email'}} span.error.hide.email-taken @@ -85,5 +82,9 @@ template(name="editUserPopup") select.select-active.js-profile-isactive option(value="false") {{_ 'yes'}} option(value="true" selected="{{user.loginDisabled}}") {{_ 'no'}} + hr + label + | {{_ 'password'}} + input.js-profile-password(type="password") input.primary.wide(type="submit" value="{{_ 'save'}}") -- cgit v1.2.3-1-g7c22