Fix regression in menu_login contrib. Resolve #3460
This commit is contained in:
parent
763699ea14
commit
86e7b57c07
2 changed files with 6 additions and 7 deletions
|
|
@ -33,6 +33,8 @@
|
||||||
range (chiizujin)
|
range (chiizujin)
|
||||||
- [Fix][issue3462]: EvEditor :UU and :DD etc commands were not properly
|
- [Fix][issue3462]: EvEditor :UU and :DD etc commands were not properly
|
||||||
differentiating from their lower-case alternatives (Griatch)
|
differentiating from their lower-case alternatives (Griatch)
|
||||||
|
- [Fix][issue3460]: The `menu_login` contrib regression caused it to error out
|
||||||
|
when creating a new character (Griatch)
|
||||||
- Doc: Added Beginner Tutorial lessons for AI, Quests and Procedural dungeon (Griatch)
|
- Doc: Added Beginner Tutorial lessons for AI, Quests and Procedural dungeon (Griatch)
|
||||||
- Doc fixes (Griatch, InspectorCaracal)
|
- Doc fixes (Griatch, InspectorCaracal)
|
||||||
|
|
||||||
|
|
@ -50,6 +52,7 @@
|
||||||
[pull3467]: https://github.com/evennia/evennia/pull/3467
|
[pull3467]: https://github.com/evennia/evennia/pull/3467
|
||||||
[issue3450]: https://github.com/evennia/evennia/issues/3450
|
[issue3450]: https://github.com/evennia/evennia/issues/3450
|
||||||
[issue3462]: https://github.com/evennia/evennia/issues/3462
|
[issue3462]: https://github.com/evennia/evennia/issues/3462
|
||||||
|
[issue3460]: https://github.com/evennia/evennia/issues/3460
|
||||||
|
|
||||||
## Evennia 4.0.0
|
## Evennia 4.0.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,14 +21,10 @@ called automatically when a new user connects.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
from evennia import CmdSet, Command, syscmdkeys
|
from evennia import CmdSet, Command, syscmdkeys
|
||||||
from evennia.utils.evmenu import EvMenu
|
from evennia.utils.evmenu import EvMenu
|
||||||
from evennia.utils.utils import (
|
from evennia.utils.utils import (callables_from_module, class_from_module,
|
||||||
callables_from_module,
|
random_string_from_module)
|
||||||
class_from_module,
|
|
||||||
random_string_from_module,
|
|
||||||
)
|
|
||||||
|
|
||||||
_CONNECTION_SCREEN_MODULE = settings.CONNECTION_SCREEN_MODULE
|
_CONNECTION_SCREEN_MODULE = settings.CONNECTION_SCREEN_MODULE
|
||||||
_GUEST_ENABLED = settings.GUEST_ENABLED
|
_GUEST_ENABLED = settings.GUEST_ENABLED
|
||||||
|
|
@ -90,7 +86,7 @@ def node_enter_username(caller, raw_text, **kwargs):
|
||||||
else:
|
else:
|
||||||
new_user = False
|
new_user = False
|
||||||
|
|
||||||
if new_user and not settings.ACCOUNT_REGISTRATION_ENABLED:
|
if new_user and not settings.NEW_ACCOUNT_REGISTRATION_ENABLED:
|
||||||
caller.msg("Registration is currently disabled.")
|
caller.msg("Registration is currently disabled.")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue