Remove registering with username/email

This commit is contained in:
rubenwardy 2018-05-13 23:48:04 +01:00
parent ff8bf992a9
commit acc48c7262
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
2 changed files with 3 additions and 3 deletions

@ -11,9 +11,6 @@ from wtforms.validators import *
from .utils import rank_required, randomString from .utils import rank_required, randomString
from app.tasks.forumtasks import checkForumAccount from app.tasks.forumtasks import checkForumAccount
class MyRegisterForm(RegisterForm):
display_name = StringField("Display name")
# Define the User profile form # Define the User profile form
class UserProfileForm(FlaskForm): class UserProfileForm(FlaskForm):
display_name = StringField("Display name") display_name = StringField("Display name")

@ -11,3 +11,6 @@ GITHUB_CLIENT_SECRET = ""
BASE_URL="http://localhost:5000/" BASE_URL="http://localhost:5000/"
UPLOAD_FOLDER="tmp" UPLOAD_FOLDER="tmp"
USER_ENABLE_REGISTER = False
USER_ENABLE_CHANGE_USERNAME = False