oidc: do not fail on notification failure
This commit is contained in:
@@ -469,7 +469,7 @@ async function interactionConfirm(req, res, next) {
|
||||
const auditSource = AuditSource.fromOidcRequest(req);
|
||||
|
||||
await eventlog.add(user.ghost ? eventlog.ACTION_USER_LOGIN_GHOST : eventlog.ACTION_USER_LOGIN, auditSource, { userId: user.id, user: users.removePrivateFields(user), appId: client.appId || null });
|
||||
await users.notifyLoginLocation(user, ip, userAgent, auditSource);
|
||||
await safe(users.notifyLoginLocation(user, ip, userAgent, auditSource), { debug });
|
||||
|
||||
const result = { consent };
|
||||
await gOidcProvider.interactionFinished(req, res, result, { mergeWithLastSubmission: true });
|
||||
|
||||
Reference in New Issue
Block a user