aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/users.py3
-rw-r--r--config.example.cfg3
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/users.py b/app/views/users.py
index d3ed1aa..e7306c1 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 eb4da8e..925da5c 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