Hello, I'm obviously a noob regarding modules and code. You're module rocks first of all, it does the job well. But I have a question, what I'm trying to do is transfer the users' credentials into another form and submit. I can do the last part of this, but do not know how to display that password variable anywhere other than where specified. I would assume that it's with the function aes_menu - well I'm not sure. Argh. Any help would rock the socks off of my feet. Thanks.

Antonio

Comments

darkcss’s picture

easyfit’s picture

Hey! Glad you like the module. What you're trying to do shouldn't be too hard. Just call on the aes_get_password function. Here's the definition of it: aes_get_password($uid, $decrypt = false)

$uid is of course the user ID and you probably want to set $decrypt to true to get the password in plain text.

So to get the password of user 1:

$password = aes_get_password(1, true);

Hope this helps.
/a_m_c

easyfit’s picture

Status: Active » Closed (fixed)
agerson’s picture

Version: 5.x-1.1 » 6.x-1.3
Component: Code » Documentation

This is a very handy line of code from a VERY handy module. I think it should be added to the module's documentation.