WRDEntity2017::CheckPassword (open)
Tests if a password is correct, can be used on password and authenticationsettings attributes
Syntax
LOADLIB "mod::wrd/lib/internal/wrdentity.whlib";
STRING FUNCTION CheckPassword(STRING attrtag, STRING testvalue)Parameters
STRING attrtagTag of the attribute with the password
STRING testvaluePassword to test
Return value
STRING'ok' if 'testvalue' is the correct password, 'rehash' if its correct but needs to be rehashed, "fail" otherwise