Skip to content
Snippets Groups Projects
Commit 4c64467c authored by danielspeicher's avatar danielspeicher
Browse files
parent aefdeaf8
No related branches found
No related tags found
1 merge request!212Merging develop into main
Pipeline #1243137 passed with warnings
...@@ -156,7 +156,6 @@ ...@@ -156,7 +156,6 @@
"#3227813 Hide password field": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3227813.diff" "#3227813 Hide password field": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3227813.diff"
}, },
"drupal/legal": { "drupal/legal": {
"#3251628 Fix destination URL": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3251628.diff",
"#3074688 Password reset links no longer work": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3074688.diff" "#3074688 Password reset links no longer work": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3074688.diff"
}, },
"drupal/linkchecker": { "drupal/linkchecker": {
......
...@@ -158,7 +158,6 @@ ...@@ -158,7 +158,6 @@
"#3227813 Hide password field": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3227813.diff" "#3227813 Hide password field": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3227813.diff"
}, },
"drupal/legal": { "drupal/legal": {
"#3251628 Fix destination URL": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3251628.diff",
"#3074688 Password reset links no longer work": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3074688.diff" "#3074688 Password reset links no longer work": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3074688.diff"
}, },
"drupal/linkchecker": { "drupal/linkchecker": {
......
diff --git a/src/Form/LegalLogin.php b/src/Form/LegalLogin.php
index 9f37ffcfa6de7f9c334ec872615f4a55a3c5a84a..7955585591147fa3aeff42a17754a0bfaef005b3 100644
--- a/src/Form/LegalLogin.php
+++ b/src/Form/LegalLogin.php
@@ -196,7 +196,7 @@ class LegalLogin extends FormBase {
$redirect = $_GET['destination'];
}
- $form_state->setRedirectUrl(Url::fromUserInput($redirect));
+ $form_state->setRedirectUrl(Url::fromUserInput('/' . $redirect));
// Option to require user to accept T&Cs on every login.
if ($config->get('accept_every_login') == '1') {
...@@ -169,7 +169,6 @@ ...@@ -169,7 +169,6 @@
"#3227813 Hide password field": "https://git.drupalcode.org/project/ldap/-/merge_requests/21.diff" "#3227813 Hide password field": "https://git.drupalcode.org/project/ldap/-/merge_requests/21.diff"
}, },
"drupal/legal": { "drupal/legal": {
"#3251628 Fix destination URL": "https://git.drupalcode.org/project/legal/-/merge_requests/3.diff",
"#3252838 Avoid session_destroy warnings": "https://git.drupalcode.org/project/legal/-/commit/add472c7e449a4fca3e40c7b9ed800c92ecc7cab.diff", "#3252838 Avoid session_destroy warnings": "https://git.drupalcode.org/project/legal/-/commit/add472c7e449a4fca3e40c7b9ed800c92ecc7cab.diff",
"#3074688 Password reset links no longer work": "https://git.drupalcode.org/project/legal/-/merge_requests/7.diff" "#3074688 Password reset links no longer work": "https://git.drupalcode.org/project/legal/-/merge_requests/7.diff"
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment