diff options
author | ivan <ivan> | 2002-07-11 13:52:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-07-11 13:52:39 +0000 |
commit | b58821fcd50e52ae726834ef3863b85ed293379f (patch) | |
tree | 490d7504166c6028128706b98836bcbc3bca6759 /fs_selfservice/fs_passwd_test | |
parent | 768935cdc63dd2071941a26959a710bce3ba1de3 (diff) |
finally working async framework
Diffstat (limited to 'fs_selfservice/fs_passwd_test')
-rwxr-xr-x | fs_selfservice/fs_passwd_test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fs_selfservice/fs_passwd_test b/fs_selfservice/fs_passwd_test new file mode 100755 index 000000000..77782e651 --- /dev/null +++ b/fs_selfservice/fs_passwd_test @@ -0,0 +1,14 @@ +#!/usr/bin/perl -w + +use strict; +use FS::SelfService qw(passwd); + +my $error = passwd( + 'username' => 'ivan', + 'old_password' => 'heyhoo', + 'new_password' => 'haloo', +); + +die $error if $error; + +print "password changed sucessfully\n"; |