Man I hate typo's.

> >
> > sub random_salt
> > {
> >   my (@salt_set, $salt);
> >   @salt_set = ('a'..'z', 'A'..'Z', '0'..'9', '.', '/');
> >   $alt = $salt_set[int(rand(64))] . $salt_set[int(rand(64))];
> >   return $salt;
> > }

of course, $alt from above should be $salt.

Andrew
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to