This module makes user/password unavailable

Created on 12 March 2005, about 20 years ago
Updated 20 February 2025, about 1 month ago

Small patch to make it ignore some special pages

--- mass_url.module.orig        2005-03-12 11:07:00.000000000 +0100
+++ mass_url.module     2005-03-12 11:07:25.000000000 +0100
@@ -20,7 +20,9 @@
   $items = array();

   if (arg(0) == ('user' || 'blog') && !is_numeric(arg(1))) {
-    $url_isname = arg(1);
+    if ((arg(1) != 'password') && (arg(1) != 'register')) {
+      $url_isname = arg(1);
+    }
   }

  // if ($may_cache) {
🐛 Bug report
Status

Active

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024