Skip to content

Comments

Record username in 2FA token#10

Open
aitorres wants to merge 3 commits intomainfrom
aitorres/username-in-2fa
Open

Record username in 2FA token#10
aitorres wants to merge 3 commits intomainfrom
aitorres/username-in-2fa

Conversation

@aitorres
Copy link
Contributor

Description

When creating a 2FA token for the app, both the issuer and the account name are recorded as "Northsky". When setting up 2FA for multiple users, you'd have multiple tokens on your authenticator app with no way of differentiating them.

This change sets the username field, so a new 2FA token will show up with the proper name on an authentication app.

Related Issues

Testing

Unit test added to cover the change.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Build/CI changes
  • Test improvements

@aitorres aitorres marked this pull request as ready for review January 22, 2026 18:19
@aitorres aitorres requested a review from TheRipperoni January 22, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant