forked from ckan/ckan.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yan Rudenko
committed
Oct 14, 2021
1 parent
66a69b5
commit 5789dd2
Showing
5 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -202,6 +202,7 @@ | |
EMAIL_HOST_USER = 'AKIAUWX42BAVQ3UFZFUU' | ||
DEFAULT_FROM_EMAIL = '[email protected]' | ||
|
||
ACCOUNT_ADAPTER = 'ckan_pages.adapter.NoNewUsersAccountAdapter' | ||
ACCOUNT_AUTHENTICATION_METHOD = 'username_email' | ||
ACCOUNT_CONFIRM_EMAIL_ON_GET = True | ||
ACCOUNT_EMAIL_REQUIRED = True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,8 +31,11 @@ <h1>{% trans "Sign In" %}</h1> | |
{% include "socialaccount/snippets/login_extra.html" %} | ||
|
||
{% else %} | ||
<p>{% blocktrans %}If you have not created an account yet, then please | ||
<a href="{{ signup_url }}">sign up</a> first.{% endblocktrans %}</p> | ||
<p>{% blocktrans %} | ||
Want to write a blog post? Contact | ||
<a href="mailto:[email protected]">[email protected]</a>. Or use our | ||
<a data-micromodal-trigger="modal-1" href="javascript:void(0);" id="contact">Contact form</a>. | ||
{% endblocktrans %}</p> | ||
{% endif %} | ||
|
||
<form class="login" method="POST" action="{% url 'account_login' %}"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
{% extends "account/base.html" %} | ||
{% extends "base.html" %} | ||
|
||
{% load i18n %} | ||
|
||
{% block head_title %}{% trans "Sign Up Closed" %}{% endblock %} | ||
|
||
{% block content %} | ||
<h1>{% trans "Sign Up Closed" %}</h1> | ||
<div class="row"> | ||
<div class="center-block ckanorg-auth-form"> | ||
<h1>{% trans "Sign Up Closed" %}</h1> | ||
|
||
<p>{% trans "We are sorry, but the sign up is currently closed." %}</p> | ||
<p>{% trans "We are sorry, but the sign up is currently closed." %}</p> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters