diff options
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/Conf.pm | 8 | ||||
-rw-r--r-- | FS/FS/access_user/internal.pm | 15 | ||||
-rw-r--r-- | FS/FS/access_user/legacy.pm | 15 |
3 files changed, 38 insertions, 0 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index e8b3333de..869ce1e73 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -5423,6 +5423,14 @@ and customer address. Include units.', 'type' => 'checkbox', }, + { + 'key' => 'authentication_module', + 'section' => 'UI', + 'description' => '"Internal" is the default , which authenticates against the internal database. "Legacy" is similar, but matches passwords against a legacy htpasswd file.', + 'type' => 'select', + 'select_enum' => [qw( Internal Legacy )], + }, + { key => "apacheroot", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" }, { key => "apachemachine", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" }, { key => "apachemachines", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" }, diff --git a/FS/FS/access_user/internal.pm b/FS/FS/access_user/internal.pm new file mode 100644 index 000000000..94f932dee --- /dev/null +++ b/FS/FS/access_user/internal.pm @@ -0,0 +1,15 @@ +package FS::access_user::internal; +use base qw( FS::access_user ); + +use strict; + +sub authenticate { + my( $username, $check_password ) = @_; + + +} + +sub change_password { +} + +1; diff --git a/FS/FS/access_user/legacy.pm b/FS/FS/access_user/legacy.pm new file mode 100644 index 000000000..f8dcdc015 --- /dev/null +++ b/FS/FS/access_user/legacy.pm @@ -0,0 +1,15 @@ +package FS::access_user::legacy; +use base qw( FS::access_user ); #::internal ? + +use strict; + +sub authenticate { + my( $username, $check_password ) = @_; + + +} + +sub change_password { +} + +1; |