Okay, I got it now: a form to change a password field, encrypting it
automatically:
[form]
[text pw "{:password}"]
[hidden password <(crypt pw)>]
[submit 'Change Password']
[session savedata password]
[form]
This needs a 'crypt' function:
function BOLTFcrypt($args, $zone='') {
$BOLTcrypt = BOLTconfig('BOLTcrypt');
return crypt($args[''][0],$BOLTcrypt);
}
I have not looked up yet how plugins are added...
I thought you might want an encrypt function anyway in the core. I
think it is essential that the passwords can easily be changed, if you
offer member registration with passwords.
Cheers,
~Hans
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---