Skip to content

theme backfill in user profile fields doesn't occur if the profile already exists but doesn't contain darkMode #1803

Description

@clpetersonucf

In get_profile_fields(): https://github.com/ucfopen/Materia/blob/master/app/core/models.py#L1528

If the "theme" is empty and "darkMode" is not present, theme needs to be included. This doesn't appear to break anything, but we should probably populate it with the default value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugThere's a bug.pythonPull requests that update python code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions