diff options
author | Rodney Ewing <ewing.rj@gmail.com> | 2013-07-08 17:00:37 -0700 |
---|---|---|
committer | Rodney Ewing <ewing.rj@gmail.com> | 2013-08-16 10:28:47 -0700 |
commit | aeae6cc29099c4bea84bbfd006615104ba719b1e (patch) | |
tree | 56a89bf2efa7d47596d95a9644e710d056c4262e /mediagoblin/templates | |
parent | fb900ef27b65b3d220ce16972593869441b4c82c (diff) | |
download | mediagoblin-aeae6cc29099c4bea84bbfd006615104ba719b1e.tar.lz mediagoblin-aeae6cc29099c4bea84bbfd006615104ba719b1e.tar.xz mediagoblin-aeae6cc29099c4bea84bbfd006615104ba719b1e.zip |
moved forgot pass to basic_auth plugin
Diffstat (limited to 'mediagoblin/templates')
3 files changed, 0 insertions, 111 deletions
diff --git a/mediagoblin/templates/mediagoblin/auth/change_fp.html b/mediagoblin/templates/mediagoblin/auth/change_fp.html deleted file mode 100644 index a3cf9cb9..00000000 --- a/mediagoblin/templates/mediagoblin/auth/change_fp.html +++ /dev/null @@ -1,43 +0,0 @@ -{# -# GNU MediaGoblin -- federated, autonomous media hosting -# Copyright (C) 2011 Free Software Foundation, Inc -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -#} -{% extends "mediagoblin/base.html" %} - -{% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} - -{% block mediagoblin_head %} - <script type="text/javascript" - src="{{ request.staticdirect('/js/show_password.js') }}"></script> -{% endblock mediagoblin_head %} - -{% block title -%} - {% trans %}Set your new password{% endtrans %} — {{ super() }} -{%- endblock %} - -{% block mediagoblin_content %} - <form action="{{ request.urlgen('mediagoblin.auth.verify_forgot_password') }}" - method="POST" enctype="multipart/form-data"> - {{ csrf_token }} - <div class="form_box"> - <h1>{% trans %}Set your new password{% endtrans %}</h1> - {{ wtforms_util.render_divs(cp_form, True) }} - <div class="form_submit_buttons"> - <input type="submit" value="{% trans %}Set password{% endtrans %}" class="button_form"/> - </div> - </div> -{% endblock %} - diff --git a/mediagoblin/templates/mediagoblin/auth/forgot_password.html b/mediagoblin/templates/mediagoblin/auth/forgot_password.html deleted file mode 100644 index 6cfd2c85..00000000 --- a/mediagoblin/templates/mediagoblin/auth/forgot_password.html +++ /dev/null @@ -1,38 +0,0 @@ -{# -# GNU MediaGoblin -- federated, autonomous media hosting -# Copyright (C) 2011 Free Software Foundation, Inc -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -#} -{% extends "mediagoblin/base.html" %} - -{% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} - -{% block title -%} - {% trans %}Recover password{% endtrans %} — {{ super() }} -{%- endblock %} - -{% block mediagoblin_content %} - <form action="{{ request.urlgen('mediagoblin.auth.forgot_password') }}" - method="POST" enctype="multipart/form-data"> - {{ csrf_token }} - <div class="form_box"> - <h1>{% trans %}Recover password{% endtrans %}</h1> - {{ wtforms_util.render_divs(fp_form, True) }} - <div class="form_submit_buttons"> - <input type="submit" value="{% trans %}Send instructions{% endtrans %}" class="button_form"/> - </div> - </div> - </form> -{% endblock %} diff --git a/mediagoblin/templates/mediagoblin/auth/fp_verification_email.txt b/mediagoblin/templates/mediagoblin/auth/fp_verification_email.txt deleted file mode 100644 index fb5e1674..00000000 --- a/mediagoblin/templates/mediagoblin/auth/fp_verification_email.txt +++ /dev/null @@ -1,30 +0,0 @@ -{# -# GNU MediaGoblin -- federated, autonomous media hosting -# Copyright (C) 2011 Free Software Foundation, Inc -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -#} - -{% trans username=username, verification_url=verification_url|safe -%} -Hi {{ username }}, - -to change your GNU MediaGoblin password, open the following URL in -your web browser: - -{{ verification_url }} - -If you think this is an error, just ignore this email and continue being -a happy goblin! -{%- endtrans %} - |