mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-18 21:09:42 -05:00
feat: RBAC + SAML support
This commit is contained in:
@@ -42,7 +42,8 @@
|
||||
{% get_current_language as LANGUAGE_CODE %}
|
||||
|
||||
<div class="custom-page-wrapper">
|
||||
<h2>{{ "About" | custom_translate:LANGUAGE_CODE}}</h2>
|
||||
{% comment %}<h2>{{ "About" | custom_translate:LANGUAGE_CODE}}</h2>{% endcomment %}
|
||||
<h2>MediaCMS {{VERSION}}</h2>
|
||||
<hr/>
|
||||
|
||||
<p><a href="https://mediacms.io">MediaCMS</a> {{ "is a modern, fully featured open source video and media CMS. It is developed to meet the needs of modern web platforms for viewing and sharing media" | custom_translate:LANGUAGE_CODE}}.</p>
|
||||
|
||||
@@ -125,27 +125,6 @@
|
||||
|
||||
{% else %}
|
||||
|
||||
<div class="user-action-form-wrap">
|
||||
<div class="user-action-form-inner">
|
||||
|
||||
<h1>Sign In</h1>
|
||||
|
||||
Please login or register before you upload a media!
|
||||
|
||||
{% url 'upload_media' as redirect_url %}
|
||||
|
||||
<p>If you have not created an account yet, then please <a href="{% url 'account_signup' %}?next={{ redirect_url }}">sign up</a> first.</p>
|
||||
|
||||
<form class="login" method="POST" action="{% url 'account_login' %}">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="hidden" name="next" value="{{ redirect_url }}" />
|
||||
<button class="primaryAction" type="submit">Sign In</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
{% endblock innercontent %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user