diff --git a/doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md b/doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
index d870b92fc2884f25de9da5bbe3f8545801c2daee..034020db19898c54964b9d023159252e89b0265a 100644
--- a/doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
+++ b/doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
@@ -611,6 +611,13 @@ user.skip_reconfirmation!
 
 ### Disable 2fa for single user
 
+**In GitLab 13.5 and later:**
+
+Use the code under [Disable 2FA | For a single user](../../security/two_factor_authentication.md#for-a-single-user) so that the target user
+is notified that 2FA has been disabled.
+
+**In GitLab 13.4 and earlier:**
+
 ```ruby
 user = User.find_by_username('<username>')
 user.disable_two_factor!