Remove additional mentions of persona in templates and docs.
This commit is contained in:
parent
9e391cf500
commit
05e4795683
@ -7,8 +7,7 @@
|
|||||||
The basic_auth plugin is enabled by default in mediagoblin.ini. This plugin
|
The basic_auth plugin is enabled by default in mediagoblin.ini. This plugin
|
||||||
provides basic username and password authentication for GNU MediaGoblin.
|
provides basic username and password authentication for GNU MediaGoblin.
|
||||||
|
|
||||||
This plugin can be enabled alongside :ref:`openid-chapter` and
|
This plugin can be enabled alongside :ref:`openid-chapter`.
|
||||||
:ref:`persona-chapter`.
|
|
||||||
|
|
||||||
Set up the basic_auth plugin
|
Set up the basic_auth plugin
|
||||||
============================
|
============================
|
||||||
|
@ -7,8 +7,7 @@
|
|||||||
The OpenID plugin allows user to login to your GNU MediaGoblin instance using
|
The OpenID plugin allows user to login to your GNU MediaGoblin instance using
|
||||||
their OpenID URL.
|
their OpenID URL.
|
||||||
|
|
||||||
This plugin can be enabled alongside :ref:`basic_auth-chapter` and
|
This plugin can be enabled alongside :ref:`basic_auth-chapter`.
|
||||||
:ref:`persona-chapter`.
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
When :ref:`basic_auth-chapter` is enabled alongside this OpenID plugin, and
|
When :ref:`basic_auth-chapter` is enabled alongside this OpenID plugin, and
|
||||||
|
@ -102,28 +102,16 @@
|
|||||||
class="button_action_highlight">
|
class="button_action_highlight">
|
||||||
{% trans %}Verify your email!{% endtrans %}</a>
|
{% trans %}Verify your email!{% endtrans %}</a>
|
||||||
or <a id="logout" href=
|
or <a id="logout" href=
|
||||||
{% if persona is not defined %}
|
"{{ request.urlgen('mediagoblin.auth.logout') }}"
|
||||||
"{{ request.urlgen('mediagoblin.auth.logout') }}"
|
|
||||||
{% else %}
|
|
||||||
"javascript:;"
|
|
||||||
{% endif %}
|
|
||||||
>{% trans %}log out{% endtrans %}</a>
|
>{% trans %}log out{% endtrans %}</a>
|
||||||
{% elif request.user and request.user.is_banned() %}
|
{% elif request.user and request.user.is_banned() %}
|
||||||
<a id="logout" href=
|
<a id="logout" href=
|
||||||
{% if persona is not defined %}
|
"{{ request.urlgen('mediagoblin.auth.logout') }}"
|
||||||
"{{ request.urlgen('mediagoblin.auth.logout') }}"
|
|
||||||
{% else %}
|
|
||||||
"javascript:;"
|
|
||||||
{% endif %}
|
|
||||||
>{% trans %}log out{% endtrans %}</a>
|
>{% trans %}log out{% endtrans %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- elif auth %}
|
{%- elif auth %}
|
||||||
<a href=
|
<a href=
|
||||||
{% if persona_auth is defined %}
|
"{{ request.urlgen('mediagoblin.auth.login') }}"
|
||||||
"javascript:;" id="persona_login"
|
|
||||||
{% else %}
|
|
||||||
"{{ request.urlgen('mediagoblin.auth.login') }}"
|
|
||||||
{% endif %}
|
|
||||||
>
|
>
|
||||||
{%- trans %}Log in{% endtrans -%}
|
{%- trans %}Log in{% endtrans -%}
|
||||||
</a>
|
</a>
|
||||||
@ -150,11 +138,7 @@
|
|||||||
·
|
·
|
||||||
{% template_hook("blog_dashboard_home") %}
|
{% template_hook("blog_dashboard_home") %}
|
||||||
<a id="logout" href=
|
<a id="logout" href=
|
||||||
{% if persona is not defined %}
|
"{{ request.urlgen('mediagoblin.auth.logout') }}"
|
||||||
"{{ request.urlgen('mediagoblin.auth.logout') }}"
|
|
||||||
{% else %}
|
|
||||||
"javascript:;"
|
|
||||||
{% endif %}
|
|
||||||
>{% trans %}Log out{% endtrans %}</a>
|
>{% trans %}Log out{% endtrans %}</a>
|
||||||
</p>
|
</p>
|
||||||
<a class="button_action" href="{{ request.urlgen('mediagoblin.submit.start') }}">
|
<a class="button_action" href="{{ request.urlgen('mediagoblin.submit.start') }}">
|
||||||
@ -194,9 +178,6 @@
|
|||||||
{% include "mediagoblin/utils/messages.html" %}
|
{% include "mediagoblin/utils/messages.html" %}
|
||||||
{% block mediagoblin_content %}
|
{% block mediagoblin_content %}
|
||||||
{% endblock mediagoblin_content %}
|
{% endblock mediagoblin_content %}
|
||||||
{% if csrf_token is defined %}
|
|
||||||
{% template_hook("persona_form") %}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -15,5 +15,3 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# 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/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-#}
|
-#}
|
||||||
|
|
||||||
{% template_hook("persona_end") %}
|
|
||||||
|
@ -28,11 +28,7 @@
|
|||||||
{% if allow_registration %}
|
{% if allow_registration %}
|
||||||
<p>{% trans %}Don't have one yet? It's easy!{% endtrans %}</p>
|
<p>{% trans %}Don't have one yet? It's easy!{% endtrans %}</p>
|
||||||
<a class="button_action_highlight" href=
|
<a class="button_action_highlight" href=
|
||||||
{% if persona_auth is defined %}
|
"{{ request.urlgen('mediagoblin.auth.register') }}"
|
||||||
"javascript:;" id="persona_login1"
|
|
||||||
{% else %}
|
|
||||||
"{{ request.urlgen('mediagoblin.auth.register') }}"
|
|
||||||
{% endif %}
|
|
||||||
{% trans %}
|
{% trans %}
|
||||||
>Create an account at this site</a>
|
>Create an account at this site</a>
|
||||||
or
|
or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user