Totp code not copied when vault timeout set to never
- Dominant language
- Swift
- Stars
- 684
- Forks
- 154
- Avg merge
- 7d 2h
- Merged PRs (30d)
- 32
Description
### Steps To Reproduce
Totp codes are not being copied if you have your vault set to never timeout. I am self hosting and I can also replicate this in BW cloud.
Can also reliably fix it by setting a timeout with Face ID turned on. Breaks when turned off.
### Expected Result
Totp codes previously copied
### Actual Result
Totp codes don’t copy
### Screenshots or Videos
_No response_
### Additional Context
_No response_
### Build Version
Latest
### What server are you connecting to?
US
### Self-host Server Version
_No response_
### Environment Details
_No response_
### Issue Tracking Info
- [x] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Contributor guide
Research direction
No file, test, or entry point is named in the issue. Start by reproducing the failure with vault timeout set to never, then compare behavior with a timeout and Face ID enabled; done means TOTP codes are copied reliably in both configurations and the regression is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100