summaryrefslogtreecommitdiff
path: root/FS/FS/part_export
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-11-30 15:11:37 -0800
committerIvan Kohler <ivan@freeside.biz>2017-11-30 15:11:37 -0800
commit7b26841755388c73dd527a62db5cca4d63e5c23a (patch)
tree0cb188681fafc9fa7ceed7c14a301fa0a71a2461 /FS/FS/part_export
parentbfb12f9c65c192993a7fb82e00bfbe10da149da7 (diff)
sha512 crypt() export
Diffstat (limited to 'FS/FS/part_export')
-rw-r--r--FS/FS/part_export/passwdfile.pm4
-rw-r--r--FS/FS/part_export/shellcommands.pm4
-rw-r--r--FS/FS/part_export/shellcommands_withdomain.pm4
3 files changed, 6 insertions, 6 deletions
diff --git a/FS/FS/part_export/passwdfile.pm b/FS/FS/part_export/passwdfile.pm
index 2978d25..6713c8d 100644
--- a/FS/FS/part_export/passwdfile.pm
+++ b/FS/FS/part_export/passwdfile.pm
@@ -9,8 +9,8 @@ use FS::part_export::null;
tie %options, 'Tie::IxHash',
'crypt' => { label=>'Password encryption',
- type=>'select', options=>[qw(crypt md5)],
- default=>'crypt',
+ type=>'select', options=>[qw(crypt md5 sha512)],
+ default=>'md5',
},
;
diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm
index 775af17..7c280e5 100644
--- a/FS/FS/part_export/shellcommands.pm
+++ b/FS/FS/part_export/shellcommands.pm
@@ -97,8 +97,8 @@ tie my %options, 'Tie::IxHash',
},
'crypt' => { label => 'Default password encryption',
- type=>'select', options=>[qw(crypt md5)],
- default => 'crypt',
+ type=>'select', options=>[qw(crypt md5 sha512)],
+ default => 'md5',
},
'groups_susp_reason' => { label =>
'Radius group mapping to reason (via template user)',
diff --git a/FS/FS/part_export/shellcommands_withdomain.pm b/FS/FS/part_export/shellcommands_withdomain.pm
index 29715b7..b307133 100644
--- a/FS/FS/part_export/shellcommands_withdomain.pm
+++ b/FS/FS/part_export/shellcommands_withdomain.pm
@@ -63,8 +63,8 @@ tie my %options, 'Tie::IxHash',
type => 'checkbox',
},
'crypt' => { label => 'Default password encryption',
- type=>'select', options=>[qw(crypt md5)],
- default => 'crypt',
+ type=>'select', options=>[qw(crypt md5 sha512)],
+ default => 'md5',
},
'fail_on_output' => {
label => 'Treat any output from the command as an error',