summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-07-25 11:34:54 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-07-25 11:34:54 +0000
commite0dc03dccd90fb6dc0130233719f74429a547cd4 (patch)
treefe562ff7322146f050783acac4e28127a63b737b
parent0bddb5231d414139aebe9e95ab9f5e36c515260d (diff)
downloadbrdo-e0dc03dccd90fb6dc0130233719f74429a547cd4.tar.gz
brdo-e0dc03dccd90fb6dc0130233719f74429a547cd4.tar.bz2
user.inc
system.module - made the words used in passwords configurable thru the admin interface.
-rw-r--r--modules/system.module1
-rw-r--r--modules/system/system.module1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/system.module b/modules/system.module
index 1bbf527eb..31e676416 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -34,6 +34,7 @@ function system_view_options() {
$output .= form_textfield("Slogan", "site_slogan", variable_get("site_slogan", ""), 55, 128, "The slogan of this website");
$output .= form_textarea("Footer message", "site_footer", variable_get("site_footer", ""), 55, 3, "This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages.");
$output .= form_textfield("Anonymous user", "anonymous", variable_get("anonymous", "Anonymous"), 30, 55, "The name used to indicate anonymous users.");
+ $output .= form_textfield("Password words", "account_words", variable_get("account_words", "foo,bar,guy,neo,tux,moo,sun,asm,dot,god,axe,geek,nerd,fish,hack,star,mice,warp,moon,hero,cola,girl,fish,java,perl,boss,dark,sith,jedi,drop,mojo"), 55, 256, "Words used in the creation of passwords. Comma seperated list.");
$output .= "<hr />\n";
// caching:
diff --git a/modules/system/system.module b/modules/system/system.module
index 1bbf527eb..31e676416 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -34,6 +34,7 @@ function system_view_options() {
$output .= form_textfield("Slogan", "site_slogan", variable_get("site_slogan", ""), 55, 128, "The slogan of this website");
$output .= form_textarea("Footer message", "site_footer", variable_get("site_footer", ""), 55, 3, "This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages.");
$output .= form_textfield("Anonymous user", "anonymous", variable_get("anonymous", "Anonymous"), 30, 55, "The name used to indicate anonymous users.");
+ $output .= form_textfield("Password words", "account_words", variable_get("account_words", "foo,bar,guy,neo,tux,moo,sun,asm,dot,god,axe,geek,nerd,fish,hack,star,mice,warp,moon,hero,cola,girl,fish,java,perl,boss,dark,sith,jedi,drop,mojo"), 55, 256, "Words used in the creation of passwords. Comma seperated list.");
$output .= "<hr />\n";
// caching: