diff options
-rwxr-xr-x | fripost-newdomain | 2 | ||||
-rwxr-xr-x | fripost-passwd | 3 | ||||
-rwxr-xr-x | lib/Fripost/Password.pm | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/fripost-newdomain b/fripost-newdomain index 7cbac3b..6156459 100755 --- a/fripost-newdomain +++ b/fripost-newdomain @@ -22,7 +22,7 @@ If I<domain> is not given, the user is prompted for it. By default, B<fripost-newdomain> prompts for the owner of the new domain; Use B<--owner=>I<''> to create a "global" domain, only managed by the administrators. -Several users can manage the same domain togother. (TODO: is that what we +Several users can manage the same domain together. (TODO: is that what we want?) If B<fripost-newdomain> warns if it is asked to register an existing domain to a new owner. diff --git a/fripost-passwd b/fripost-passwd index f508e9d..e03deb5 100755 --- a/fripost-passwd +++ b/fripost-passwd @@ -98,6 +98,9 @@ The root DN for everything done by B<fripost-passwd>. =cut +# TODO: add flag --reset to automatically generate a new password and +# send it to the user (in case he/she has forgotten the password). + use FindBin qw($Bin); use lib "$Bin/lib"; diff --git a/lib/Fripost/Password.pm b/lib/Fripost/Password.pm index 595502d..53a10f7 100755 --- a/lib/Fripost/Password.pm +++ b/lib/Fripost/Password.pm @@ -77,7 +77,7 @@ sub hash ($$$) { sub is_salted { return ( not ( defined $_[0] ) or $_[0] ne '' ) }; -# Generate (random) salt, with a (random) length of 23 to 31 bytes. +# Generate (random) salt, with a (random) length of 24 to 31 bytes. sub make_salt { my $len = 31 - int( rand(8) ); my @bytes = (); |