From acc48c72620fe9bfdf3c72666d57af7e3c9306d0 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 13 May 2018 23:48:04 +0100 Subject: [PATCH] Remove registering with username/email --- app/views/users.py | 3 --- config.example.cfg | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/users.py b/app/views/users.py index d3ed1aa6..e7306c18 100644 --- a/app/views/users.py +++ b/app/views/users.py @@ -11,9 +11,6 @@ from wtforms.validators import * from .utils import rank_required, randomString from app.tasks.forumtasks import checkForumAccount -class MyRegisterForm(RegisterForm): - display_name = StringField("Display name") - # Define the User profile form class UserProfileForm(FlaskForm): display_name = StringField("Display name") diff --git a/config.example.cfg b/config.example.cfg index eb4da8eb..925da5c3 100644 --- a/config.example.cfg +++ b/config.example.cfg @@ -11,3 +11,6 @@ GITHUB_CLIENT_SECRET = "" BASE_URL="http://localhost:5000/" UPLOAD_FOLDER="tmp" + +USER_ENABLE_REGISTER = False +USER_ENABLE_CHANGE_USERNAME = False