[#6402] load the request info context during password/OAuth2/OTP authentication

This commit is contained in:
Gani Georgiev
2025-02-10 16:56:48 +02:00
parent 6a7f3a21fb
commit 26f0df36bc
8 changed files with 57 additions and 1 deletions

View File

@@ -32,6 +32,8 @@ func recordAuthWithPassword(e *core.RequestEvent) error {
return firstApiError(err, e.BadRequestError("An error occurred while validating the submitted data.", err))
}
e.Set(core.RequestEventKeyInfoContext, core.RequestInfoContextPasswordAuth)
var foundRecord *core.Record
var foundErr error