aboutsummaryrefslogtreecommitdiffstats
path: root/HTPasswdSync.install
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-03-11 17:43:15 +0100
committerDaniel Lange <DLange@git.local>2016-03-11 17:43:15 +0100
commite8e7efbd23bb56136ac538b30e73acaddda92d96 (patch)
treef32f2257c766a0e98a3e8e504d059bf26252f312 /HTPasswdSync.install
parent90cb364f9c7282e00afc05435fab7e62bc190d86 (diff)
downloaddrupal_htpasswdsync-e8e7efbd23bb56136ac538b30e73acaddda92d96.tar.gz
drupal_htpasswdsync-e8e7efbd23bb56136ac538b30e73acaddda92d96.tar.bz2
drupal_htpasswdsync-e8e7efbd23bb56136ac538b30e73acaddda92d96.zip
Add support for SHA-256-crypt and SHA-512-crypt salted hashes
Warning: Database schema change. Using varchar(128) instead of varchar(64) now. Thanks for reading the full git log comment :)
Diffstat (limited to 'HTPasswdSync.install')
-rw-r--r--HTPasswdSync.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/HTPasswdSync.install b/HTPasswdSync.install
index e83c828..f35f2f0 100644
--- a/HTPasswdSync.install
+++ b/HTPasswdSync.install
@@ -30,14 +30,14 @@ function htpasswdsync_db_schema() {
'username' => array(
'description' => 'The {users}.username.',
'type' => 'varchar',
- 'length' => 64,
+ 'length' => 128,
'not null' => true,
'default' => 0,
),
'passwd' => array(
'description' => 'The crypted (crypt) password.',
'type' => 'varchar',
- 'length' => 64,
+ 'length' => 128,
'not null' => true,
'default' => '',
),

© 2014-2024 Faster IT GmbH | imprint | privacy policy