Quote from
ecotip on January 7, 2025, 11:47 am
Hi ,
I try to use neoBcryptCheckPassword to validate a password I got from a mysql database on a subroutine
CreateEmptyObject [miobjsuma]
SetVar [miobjsuma] [data]
SetVar [password] [miobjsuma(0) ('password')]
SetVar [vendorid] [miobjsuma(0) ('vendorid')]
SetVar [product] [miobjsuma(0) ('product')]
SetVar [status] [miobjsuma(0) ('status')]
neoBcryptCheckPassword "George@76" "[password]" [correct]
If [correct] == true
SetVar [password] "ok"
Else
SetVar [password] "Not ok"
EndIf
The code is not working any idea why ?
Hi ,
I try to use neoBcryptCheckPassword to validate a password I got from a mysql database on a subroutine
CreateEmptyObject [miobjsuma]
SetVar [miobjsuma] [data]
SetVar [password] [miobjsuma(0) ('password')]
SetVar [vendorid] [miobjsuma(0) ('vendorid')]
SetVar [product] [miobjsuma(0) ('product')]
SetVar [status] [miobjsuma(0) ('status')]
neoBcryptCheckPassword "George@76" "[password]" [correct]
If [correct] == true
SetVar [password] "ok"
Else
SetVar [password] "Not ok"
EndIf
The code is not working any idea why ?