summaryrefslogtreecommitdiff
path: root/FS/FS/Auth/external.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-05-09 21:42:37 -0700
committerIvan Kohler <ivan@freeside.biz>2013-05-09 21:42:37 -0700
commit56f9dffcd409d2a10e7a2cbe4c15b397f6f3abe1 (patch)
tree1b151c7f2348965c10823644201fc33a070dfa7b /FS/FS/Auth/external.pm
parent19eef2ec0e68587304cd597fc5b2f8e1f151e424 (diff)
NG auth: autocreate records for external users, RT#21563
Diffstat (limited to 'FS/FS/Auth/external.pm')
-rw-r--r--FS/FS/Auth/external.pm13
1 files changed, 2 insertions, 11 deletions
diff --git a/FS/FS/Auth/external.pm b/FS/FS/Auth/external.pm
index d2bc746..51f1f04 100644
--- a/FS/FS/Auth/external.pm
+++ b/FS/FS/Auth/external.pm
@@ -1,18 +1,9 @@
-packages FS::Auth::external;
+package FS::Auth::external;
#use base qw( FS::Auth );
use strict;
-sub autocreate {
- my $username = shift;
- my $access_user = new FS::access_user {
- 'username' => $username,
- #'_password' => #XXX something random so a switch to internal auth doesn't
- #let people on?
- };
- my $error = $access_user->insert;
- #die $error if $error;
-}
+sub autocreate { 1; }
1;