[Vtigercrm-developers] Generate password

Chris Thompson cthompson at moderas.org
Mon Mar 26 13:11:32 GMT 2018


If this thread doesn't allow for discussing solutions (including vended) we need another thread that does. Nobody wants to waste time reinventing the wheel. 

Sent from my iPhone

> On Mar 26, 2018, at 8:27 AM, Stefan Warnat <ich at stefanwarnat.de> wrote:
> 
> Hy,
> 
> There probably is a module, which can do it for you. 
> (@Prasad: I know I'm not allowed to advert and I respect it by removal of signature. But in situation like this it would save a lot time and headaches to direct to a module.)
> 
> When you Google "Workflow Designer", then the basic version would be enough and solve this for 100€. Not sure if your working time is cheaper. ;)
> 
> Solution would be to use a single Block "set values" and set <?php return substr(md5(microtime(true).mt_rand(100000,999999)), 0, 10); ?> to the field, which should store the password. Without any core modifications.
> 
> You can also contact me for more information.
> 
> Stefan
> 
> 
>> On Mon, Mar 26, 2018 at 11:40 AM, nilay khatri <nilay.spartan at gmail.com> wrote:
>> You could register your Password generation function as a Custom Workflow Function and then setup a workflow on first save.
>> 
>> This would not require any core file modification and is upgrade safe.
>> 
>> 
>>> On Sun, Mar 25, 2018 at 6:49 PM, Tony Sandman <tonysandman999 at gmail.com> wrote:
>>> I believe S.Warnat can help you. Google it out.
>>> 
>>> Cheers
>>> T
>>> 
>>>> On Sat, Mar 24, 2018 at 11:12 PM, Garry Brighton <garryatbrighton at gmail.com> wrote:
>>>> Trying to get function to generate password in custom field, but for some reason different ways not working. What is your advice? 
>>>> makeRandomPassword or substr not returning any result. 
>>>> Can you share example of such? 
>>>> 
>>>> Kindest
>>>> Garry
>>>> 
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>> 
>>> 
>>> _______________________________________________
>>> http://www.vtiger.com/
>> 
>> 
>> _______________________________________________
>> http://www.vtiger.com/
> 
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20180326/d695f452/attachment.html>


More information about the vtigercrm-developers mailing list