Created
February 26, 2015 15:16
-
-
Save Jaybus2/e518f6f98acc39c6e742 to your computer and use it in GitHub Desktop.
OpenDocMan 1.3.2 patch fixes password length limit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur opendocman-1.3.2/templates/common/user/edit.tpl opendocman-1.3.2.rev/templates/common/user/edit.tpl | |
--- opendocman-1.3.2/templates/common/user/edit.tpl 2015-02-16 10:37:10.000000000 -0500 | |
+++ opendocman-1.3.2.rev/templates/common/user/edit.tpl 2015-02-26 09:04:27.334000783 -0500 | |
@@ -24,7 +24,7 @@ | |
<tr> | |
<td><b>{$g_lang_userpage_password}</b></td> | |
<td> | |
- <input name="password" type="password" maxlength="10"> | |
+ <input name="password" type="password" maxlength="32"> | |
{$g_lang_userpage_leave_empty} | |
</td> | |
</tr> | |
@@ -99,4 +99,4 @@ | |
$('#modifyUserForm').validate(); | |
}); | |
{/literal} | |
-</script> | |
\ No newline at end of file | |
+</script> | |
diff -ur opendocman-1.3.2/templates/common/user_add.tpl opendocman-1.3.2.rev/templates/common/user_add.tpl | |
--- opendocman-1.3.2/templates/common/user_add.tpl 2015-02-16 10:37:10.000000000 -0500 | |
+++ opendocman-1.3.2.rev/templates/common/user_add.tpl 2015-02-26 09:03:44.648002373 -0500 | |
@@ -19,7 +19,7 @@ | |
<tr> | |
<td><b>{$g_lang_userpage_password}</b></td> | |
<td> | |
- <input name="password" type="text" value="{$rand_password}" class="required" minlength="5" maxlength="10"> | |
+ <input name="password" type="text" value="{$rand_password}" class="required" minlength="5" maxlength="32"> | |
</td> | |
</tr> | |
{/if} | |
@@ -91,4 +91,4 @@ | |
}) | |
}); | |
{/literal} | |
-</script> | |
\ No newline at end of file | |
+</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment