| Index
» Projekty
» phpMyEdit
» Fórum
» Password re-hash input W |
 |
maco1717
Založený: 26.04.2007
Príspevky: 3
Zaslal: 2007-04-26 18:39
Návrat hore
Odpovedať s citátom
|
hello i have problems i would apreciate some help with:
1.- i have a password field in my table an ofcourse when i go in to change values i dont whant my password field to re-has i read that with this instruction i could solve the problem
'sqlw' => 'IF(password = $val_qas, $val_qas, sha1($val_qas))',
and yes, that solved the problem, but i also wanted to have the password hidden with input 'W' and there is where the problem comes, i dont know why but when i use the password as input 'W' it re-hashes the password, any one can help me, i would apreciate any sugestion, thanks.
2.- there is any field in opts that is used as a password confirmation input ??? or is there any way of having a pass confirmation field?
thanks...
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2007-05-02 16:39
Návrat hore
Odpovedať s citátom
|
so it looks like whith W option, the sqlw option does not work. is there anybody who can confirm ? (i don't use W with sqlw).
|
maco1717
Založený: 26.04.2007
Príspevky: 3
Zaslal: 2007-05-02 20:21
Návrat hore
Odpovedať s citátom
|
| michal Napísal: |
| so it looks like whith W option, the sqlw option does not work. is there anybody who can confirm ? (i don't use W with sqlw). |
no, the W option goes with input, like this
'input' => 'W'
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|