If you told it to <cfdump var=“#decrypt( checkDetails.password, request.PasswordKey )#” /> then you WOULD get the password each and everytime. If the password you enter was incorrect, the above would still give you the password, since you didn’t change the first attribute with the value that was provided.
Also, you don’t want to ever tell someone “The password for username: XXX is wrong” If they don’t get the password/username combo right, don’t hint that there is even a username with what was provided; just say “The credentials provided are incorrect” (or something to that effect)
I know what you say aaron, but to test it I used just three letters as password. I can maybe type that one time wrong, but not each time. Anyway, I couldn’t figure what the reason was so I switched to use Hash instead, and that is working fine now!
By the way thank you for your suggestion about the error message !
For sure I want to figure this out, but I didn’t/don’t have the time! I have to deliver tomorrow, and I’m in the last stages. These things can really break you up at times. In earlier years I wouldn’t have stopped looking, before I new what the reason was, but hey the rent have to be paid as well. So like I said, I will come back to this and keep you informed about what the cause is/was!