Remove registering with username/email
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user