mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-29 23:24:53 -05:00
feat: auto detect first login (#2722)
* 'hide' default email and password env variables * first login API endpoint * run code-generators * frontend indicators for default username and pw * remove old env variables from docs * fix env set variable * remove password from tests
This commit is contained in:
@@ -116,7 +116,7 @@ class UserOut(UserBase):
|
||||
|
||||
@property
|
||||
def is_default_user(self) -> bool:
|
||||
return self.email == settings.DEFAULT_EMAIL.strip().lower()
|
||||
return self.email == settings._DEFAULT_EMAIL.strip().lower()
|
||||
|
||||
@classmethod
|
||||
def loader_options(cls) -> list[LoaderOption]:
|
||||
|
||||
Reference in New Issue
Block a user