Skip to content
Snippets Groups Projects
Commit f66332a4 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #2932104: Enable Password Reset Landing Page (PRLP) module in the update...

Issue #2932104: Enable Password Reset Landing Page (PRLP) module in the update function for the [varbase security] feature module.
parent c753db4e
No related branches found
No related tags found
No related merge requests found
......@@ -85,3 +85,12 @@ function varbase_security_update_8009() {
\Drupal::service('module_installer')->install(['username_enumeration_prevention'], FALSE);
}
}
/**
* Enable Password Reset Landing Page (PRLP) module.
*/
function varbase_security_update_8010() {
if (!\Drupal::moduleHandler()->moduleExists('prlp')) {
\Drupal::service('module_installer')->install(['prlp'], FALSE);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment