Skip to content

Commit 9c758b8

Browse files
committed
Add UpdateReason to getexistinguserinfo
1 parent f7d8f9e commit 9c758b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scripts/extensions/authenticationHelper.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ export class AuthenticationHelper {
6767
let writeableCookies = this.isThirdPartyCookiesEnabled(response.data);
6868
getInfoEvent.setCustomProperty(Log.PropertyName.Custom.WriteableCookies, writeableCookies);
6969

70+
getInfoEvent.setCustomProperty(Log.PropertyName.Custom.UserUpdateReason, UpdateReason[updateReason]);
71+
7072
if (isValidUser) {
7173
this.user.set({ user: response.data, lastUpdated: response.lastUpdated, updateReason: updateReason, writeableCookies: writeableCookies });
7274
} else {

0 commit comments

Comments
 (0)