# Cancelling SSO record deletion deletes record

**URL:** https://meta.discourse.org/t/cancelling-sso-record-deletion-deletes-record/176964
**Category:** Bug
**Created:** [January 22, 2021, 5:41pm UTC](https://meta.discourse.org/t/cancelling-sso-record-deletion-deletes-record/176964 "2021-01-22T17:41:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sudoman](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@sudoman](https://meta.discourse.org/u/sudoman)
#### Post date: [January 22, 2021, 5:41pm UTC](https://meta.discourse.org/t/cancelling-sso-record-deletion-deletes-record/176964/1 "2021-01-22T17:41:25Z")

</div>

With version ( [9da9b2e1cc](https://github.com/discourse/discourse/commits/9da9b2e1cc314c8c2633303e17eb0d215757d58d) ) of Discourse, on the admin interface of a user profile, if one clicks on the “Delete SSO Record” button, one is asked for confirmation. If one selects “No”, to cancel the operation, the SSO record is deleted anyways. The expected result is for the SSO record to remain in place.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [January 22, 2021, 7:18pm UTC](https://meta.discourse.org/t/cancelling-sso-record-deletion-deletes-record/176964/3 "2021-01-22T19:18:16Z")

</div>

Thanks for reporting this @sudoman. I just pushed a fix for the issue:

[https://github.com/discourse/discourse/commit/cd11689446e72b9c1f3f10551fead2780cc310b9](https://github.com/discourse/discourse/commit/cd11689446e72b9c1f3f10551fead2780cc310b9)

It will hit tests-passed in the next few minutes, then you’ll need to update your instance to the latest version to pull in the fix.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [January 5, 2023, 6:16pm UTC](https://meta.discourse.org/t/cancelling-sso-record-deletion-deletes-record/176964/4 "2023-01-05T18:16:13Z")

</div>

3 posts were split to a new topic: [Can’t log in from PC, but can from mobile](https://meta.discourse.org/t/cant-log-in-from-pc-but-can-from-mobile/250850)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [January 5, 2023, 6:17pm UTC](https://meta.discourse.org/t/cancelling-sso-record-deletion-deletes-record/176964/5 "2023-01-05T18:17:22Z")

</div>


