Settings: Remove password link fix

pull/138/head
dgtlmoon 4 years ago
parent 9669f8248e
commit c0b6233912

@ -12,7 +12,7 @@
</div>
<div class="pure-control-group">
{% if current_user.is_authenticated %}
<a href="/settings?removepassword=true" class="pure-button pure-button-primary">Remove password</a>
<a href="{{url_for('settings_page', removepassword='yes')}}" class="pure-button pure-button-primary">Remove password</a>
{% else %}
{{ render_field(form.password, size=10) }}
<span class="pure-form-message-inline">Password protection for your changedetection.io application.</span>

Loading…
Cancel
Save