Skip to content

Log new_device with email and password authentication event (redo)#10965

Merged
aduth merged 6 commits intomainfrom
aduth-new-device-unauthenticated
Jul 23, 2024
Merged

Log new_device with email and password authentication event (redo)#10965
aduth merged 6 commits intomainfrom
aduth-new-device-unauthenticated

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jul 18, 2024

🛠 Summary of changes

Unreverts changes originally introduced in #10957, with fix to avoid errors resulting from an unauthenticated Warden user.

The original changes were reverted in #10963

📜 Testing Plan

Repeat Testing Plan from #10957

Verify tests pass.

@aduth aduth marked this pull request as draft July 19, 2024 17:17
@aduth aduth marked this pull request as ready for review July 19, 2024 17:58
@aduth aduth requested a review from a team July 19, 2024 17:58
@aduth
Copy link
Contributor Author

aduth commented Jul 22, 2024

Reverting to draft to make some revisions based on a pairing session (see Slack discussion).

@aduth aduth marked this pull request as draft July 22, 2024 20:53
aduth added 3 commits July 23, 2024 09:01
Avoids mixed states, more consistent abstraction use
Should behave more predictably after 06ad70b
@aduth aduth marked this pull request as ready for review July 23, 2024 13:07
@aduth aduth requested a review from mitchellhenke July 23, 2024 13:08
@aduth aduth merged commit 226f8f5 into main Jul 23, 2024
@aduth aduth deleted the aduth-new-device-unauthenticated branch July 23, 2024 15:38
mitchellhenke pushed a commit that referenced this pull request Jul 31, 2024
…10965)

* Log new_device with email and password authentication event (#10957)

changelog: Internal, Analytics, Log new_device with email and password authentication event

* Handle unauthenticated user from new_device helper

* Stub warden authenticated? value in stubbed sign-in

* Use Devise sign_out for handling lockout

Avoids mixed states, more consistent abstraction use

* Revert to original success-based logging

Should behave more predictably after 06ad70b

* Revert unnecessary changes to stub_sign_in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants