Merge branch 'master' into Develop

# Conflicts:
#	cps/helper.py
#	cps/templates/user_edit.html
#	cps/web.py
This commit is contained in:
Ozzieisaacs
2020-01-04 07:57:54 +01:00
3 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
<input type="email" class="form-control" name="email" id="email" value="{{ content.email if content.email != None }}" autocomplete="off">
</div>
{% if ( g.user and g.user.role_passwd() or g.user.role_admin() ) and not content.role_anonymous() %}
{% if g.user and g.user.role_admin() and not new_user and not profile and ( mail_configured and content.email if content.email != None %}
{% if g.user and g.user.role_admin() and not new_user and not profile and ( mail_configured and content.email if content.email != None ) %}
<div class="btn btn-default" id="resend_password"><a href="{{url_for('admin.reset_user_password', user_id = content.id) }}">{{_('Reset user Password')}}</a></div>
{% endif %}
<div class="form-group">