mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-08 16:43:47 +01:00
Remove registering with username/email
This commit is contained in:
parent
ff8bf992a9
commit
acc48c7262
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user