projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0900630
)
POD conversion
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 23 Dec 2008 00:25:48 +0000
(
00:25
+0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 23 Dec 2008 00:25:48 +0000
(
00:25
+0000)
change-user/change-user-lib.pl
patch
|
blob
|
history
diff --git
a/change-user/change-user-lib.pl
b/change-user/change-user-lib.pl
index
e86842d
..
a95fbbc
100644
(file)
--- a/
change-user/change-user-lib.pl
+++ b/
change-user/change-user-lib.pl
@@
-1,4
+1,9
@@
-# change-user-lib.pl
+=head1 change-user-lib.pl
+
+This module has no actual functionality of it's own, so there isn't much to
+say here.
+
+=cut
do '../web-lib.pl';
&init_config();
@@
-7,6
+12,11
@@
do '../ui-lib.pl';
&foreign_require("webmin", "webmin-lib.pl");
%access = &get_module_acl();
+=head2 can_change_pass(&user)
+
+Returns 1 if some user's password can be changed.
+
+=cut
sub can_change_pass
{
return $_[0]->{'pass'} ne 'x' && $_[0]->{'pass'} ne 'e' && !$_[0]{'sync'} &&