Skip to content

null-coalesce $CFG->passwordsaltmain to an empty string - #2

Open
daniil-berg wants to merge 2 commits into
frumbert:mainfrom
daniil-berg:fallback-empty-salt
Open

null-coalesce $CFG->passwordsaltmain to an empty string#2
daniil-berg wants to merge 2 commits into
frumbert:mainfrom
daniil-berg:fallback-empty-salt

Conversation

@daniil-berg

Copy link
Copy Markdown

passwordsaltmain is no longer used in modern Moodle installations.

The code in the loginpage_hook as is causes an error, when the property is missing.

Using a custom config setting might be a better option for the future.

`passwordsaltmain` is no longer used in modern Moodle installations.
Using a custom config setting might be an option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant