Skip to content
Snippets Groups Projects
manage_password.html 980 B
Newer Older
{% extends "base.html" %}

{% block title %}Options | Password Manager{% endblock %}
{% block heading %}Password Manager{% endblock %}
{% block pageid %}userprofile{% endblock %}

{% block content %}

<p> Passwords generated here are intended only for scripted access to GraceDB by LV-EM users. Your password allows access to the <a href={% url "basic:api-root" %}>REST API</a>. </p>

<p> Your username is: <span style="color: red"> {{ username }} </span> </p>

{% if password %}
<p> Your password is: <span style="color: red"> {{ password }} </span> </p>
{% endif %}

<br/>

<p> Press the button here to get a new password (or change your existing one): </p>

<form action={% url "userprofile-manage-password" %} method="post">
    <input type="submit" value="Get me a password!">
</form>

<p> <b>Note:</b> Clicking this button has the effect of changing your password, and any old 
passwords will no longer work. Also, passwords will expire after one year. </p>

{% endblock %}