[PB-6733] remove user migration - #2120
Open
TamaraFinogina wants to merge 2 commits into
Open
Conversation
Deploying drive-web with
|
| Latest commit: |
4dc4dab
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9da4d89c.drive-web.pages.dev |
| Branch Preview URL: | https://remove-user-migration.drive-web.pages.dev |
|
CandelR
approved these changes
Aug 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
User migration was a temporary code to allow users with a valid user to remain logged in when we rolled out encrypted users. By now, all users should either have moved to an encrypted user or have had their token expire. Hence, migration is now dead code (all new logins use encrypted users).
Related Issues
Relates to PB-6733
Checklist
Testing Process
Check that login keeps working, as well as downloads
Additional Notes
Make sure no user has a valid session with an unencrypted user. All such sessions should expire before removing the migration. Token lifetime is 3 days and 7 days for refresh.
Encrypted user was merged on 20/08/2026