Better password reset instructions

pull/451/head
Piero Toffanin 2018-05-13 09:28:58 -04:00
rodzic 4d4cef22e1
commit 114b0e52f9
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -16,7 +16,14 @@
<button type="submit" class="btn btn-default">{% trans 'Log in' %}</button>
</div>
<div class="top-buffer col-sm-offset-2 col-sm-10">
<p><a href="{% url 'password_reset' %}">{% trans "Reset My Password" %}</a></p>
<!--<p><a href="{% url 'password_reset' %}">{% trans "Reset My Password" %}</a></p>-->
<p><a href="javascript:toggleForgotPasswordHint();">Forgot your password?</a></p>
<script>function toggleForgotPasswordHint(){ $("#forgotPasswordHint").toggle(); }</script>
<div id="forgotPasswordHint" style="display: none; font-size: 90%; padding: 4px;" class="theme-secondary">
You can reset the administrator password by running the following command:
<span class="theme-background-highlight" style="padding: 4px; margin: 8px 0; display: inline-block;">./webodm.sh resetadminpassword yournewpass</span><br/>
If you used WebODM Manager to launch WebODM, find the "Reset Password" button within the maintenance panel or within one of WebODM Manager menus.
</div>
</div>
</div>
</form>