Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
RocketChat
/
Rocket.Chat
Public
Notifications
You must be signed in to change notification settings
Fork
13.8k
Star
46.1k
Code
Issues
2.5k
Pull requests
1.5k
Discussions
Actions
Projects
Wiki
Security and quality
21
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
chore: migrate 2FA TOTP DDP methods to /v1/users.totp.* REST endpoints
- #40734
#40734
Merged
ggazzo
merged 10 commits into
develop
RocketChat/Rocket.Chat:develop
from
chore/ddp-migrate-batch5-2fa
RocketChat/Rocket.Chat:chore/ddp-migrate-batch5-2fa
Copy head branch name to clipboard
Jul 24, 2026
Conversation
Commits
10
(10)
Checks
Files changed
Merged
chore: migrate 2FA TOTP DDP methods to /v1/users.totp.* REST endpoints
#40734
ggazzo
merged 10 commits into
develop
RocketChat/Rocket.Chat:develop
from
chore/ddp-migrate-batch5-2fa
RocketChat/Rocket.Chat:chore/ddp-migrate-batch5-2fa
Copy head branch name to clipboard
Commits
Commits on Jul 17, 2026
chore: migrate 2FA TOTP DDP methods to REST endpoints
Show description for 719da2c
ggazzo
and
claude
committed
719da2c
View commit details
Copy full SHA for 719da2c
Browse repository at this point
fix(api): address review feedback on TOTP REST endpoints
Show description for 53fb2ea
ggazzo
committed
53fb2ea
View commit details
Copy full SHA for 53fb2ea
Browse repository at this point
fix(api): correct checkCodesRemaining import paths after backend reorg
ggazzo
committed
3d37909
View commit details
Copy full SHA for 3d37909
Browse repository at this point
test(api): cover TOTP REST endpoints (enable/validate/regenerate/disable/codesRemaining)
ggazzo
committed
92a0557
View commit details
Copy full SHA for 92a0557
Browse repository at this point
fix(api): correct 2fa import paths after develop reorg (2fa→server/lib/2fa, logger/notifyListener moved)
ggazzo
committed
a14bb99
View commit details
Copy full SHA for a14bb99
Browse repository at this point
fix(security): rate-limit all TOTP REST endpoints (enable/codesRemaining) to prevent brute-force
ggazzo
committed
6116341
View commit details
Copy full SHA for 6116341
Browse repository at this point
chore: fix import order and prettier formatting
ggazzo
committed
ddc6761
View commit details
Copy full SHA for ddc6761
Browse repository at this point
fix(security): require 2FA to enroll TOTP (enableTotp/validateTotp)
Show description for 335d8e0
ggazzo
committed
335d8e0
View commit details
Copy full SHA for 335d8e0
Browse repository at this point
test(api): enable 2FA + password fallback so TOTP twoFactorRequired tests challenge
Show description for f53a974
ggazzo
committed
f53a974
View commit details
Copy full SHA for f53a974
Browse repository at this point
test(api): simplify TOTP tests — TEST_MODE bypasses the 2FA gate
Show description for 6cf199e
ggazzo
committed
6cf199e
View commit details
Copy full SHA for 6cf199e
Browse repository at this point
You can’t perform that action at this time.