Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update example extauth script with tryregister, removeuser and remove…

…user3 (EJAB-641)
  • Loading branch information...
commit 548be4cf3df92b01244c1b21fb9daf506537d4fb 1 parent 0e5b0b4
@badlop badlop authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 examples/extauth/check_pass_null.pl
View
16 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;
Please sign in to comment.
Something went wrong with that request. Please try again.