Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 0cd720b

Browse files
dont let people register themselves
1 parent 579e874 commit 0cd720b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

gsoc/templates/registration/login.html

-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@
4949
</fieldset>
5050
</form>
5151
</section>
52-
<div class="content center">
53-
<a class="" href="{% url 'new_account' %}">Want to create a new user? Click here!</a>
54-
</div>
5552

5653
{% endif %}
5754

gsoc/urls.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
# Add Django site authentication urls (for login, logout, password management)
3838
urlpatterns += [
3939
url("accounts/", include("django.contrib.auth.urls")),
40-
url("accounts/new", gsoc.views.new_account_view, name="new_account"),
40+
# remove accounts/new url so people cant register themselfs...
41+
# url("accounts/new", gsoc.views.new_account_view, name="new_account"),
4142
url("accounts/register", gsoc.views.register_view, name="register"),
4243
url("accounts/change_password", gsoc.views.change_password, name="change_password"),
4344
url("accounts/change_info", gsoc.views.change_info, name="change_info"),

0 commit comments

Comments
 (0)