Permalink
Browse files

Update example extauth script with tryregister, removeuser and remove…

…user3 (EJAB-641)
  • Loading branch information...
1 parent 0e5b0b4 commit 548be4cf3df92b01244c1b21fb9daf506537d4fb @badlop badlop committed Dec 3, 2010
Showing with 16 additions and 0 deletions.
  1. +16 −0 examples/extauth/check_pass_null.pl
@@ -42,6 +42,22 @@
# password is null. Return 1 if the user $user\@$domain exitst.
$result = 1;
},last SWITCH;
+
+ $op eq 'tryregister' and do
+ {
+ $result = 1;
+ },last SWITCH;
+
+ $op eq 'removeuser' and do
+ {
+ # password is null. Return 1 if the user $user\@$domain exitst.
+ $result = 1;
+ },last SWITCH;
+
+ $op eq 'removeuser3' and do
+ {
+ $result = 1;
+ },last SWITCH;
};
my $out = pack "nn",2,$result ? 1 : 0;
syswrite STDOUT,$out;

0 comments on commit 548be4c

Please sign in to comment.