Hi,
Sorry for hammering the forum with my troubles with the password reset portal for v8.0.1 . Well, in my defense :) I have to say I've tried hard and harder with the documentation. But I think there are parts missing, like the "Action after successful login" node.
I would like to send the password reset code to a secondary , alternate email address for the user. I have an attribute (CCC_SecondaryEmailAddress) in Person already holding that information. So I just need to extend QER_Password_Session with a third option to achieve this. It will work just like AuthbyQuestion but instead, the user will need to fill up his/her secondary email address and if it matches, then the passcode will be forwarded there. But the question is:
- How can I query CCC_SecondaryEmailAddress from QER_Password_Session ? I've seen that security is really tight and Person is only loaded by collection User after authentication, but the password query is somehow retrieved here. What does QER_Person_GetPasswordQuery do and how can I adapt it to get the attribute that I need ?
var q = await VI.WebRuntime.ServiceConnection.Get().Session.GetLimitedSqlScalarAsync<string>("QER_Person_GetPasswordQuery", new []{ new QueryParameter("CentralAccount", ValType.String, accountName)}, _cx).ConfigureAwait(false);
Same applies for the sms solution. I mean I could as well send the passcode via sms, or telegram api, or else to a phone number the user has previously registered in the profile, but again I'd need to know how to query that attribute.
Thanks!