Hi there.
I just can't get the password for accounts in a good way.
I try to use the following:
With this I get the user correct but the password crypted or something.
Hope that someone can help me.
Regards
John
Well I hope that the password is crypted! Otherwise somebody could easily gain access on your system.
If you really want to use non-encrypted passwords, then you have to set them in the system so that the unix user has a text password.
Hi and thank you.
The user is not in system but in a mysql db.
I can get this info in other webmail scripts but not in RC.
Is it the session pw that is crypted or where does it get crypted?
Or the third option is my "session:password" wrong? Should I use another way to get it?
Well I don't know how exactly your system/your installation looks like but I guess it works like this:
You log in with your roundcube user. The roundcube application encrypts your given password and compares the given password with the one on the system. If the password is correct, the session gets started and the encrypted password is stored in your session and the value, you're trying to read out.
I guess the only possibility to have that what you want is to make two different password-vars after loggin in: one which gets encrypted to compare with the password in the system and one which saved the given password in cleartext.
Unfortunately that goes too deep into the roundcube core - at least for me.
If anyone has another idea or I'm mistaken, give it a shot ^^
You're right.
I see the problem.
I would really like to be able to this in one of our systems though.
If anyone can show me the way I'd be happy to try.
Thanks for you help.
Is there anyone that can help me get this solved?
I really need to use the pass in a hidden field in one installation of RoundCube.
Thanks
Solved by creating a new session in rcmail.php.