Skip to content

Commit

Permalink
Clarify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
codingllama committed Apr 10, 2024
1 parent d1db7bd commit 29346e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/auth/webauthn/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ func (f *RegistrationFlow) Begin(ctx context.Context, user string, passwordless
continue
}

// Let "upgrades" from non-resident to resident happen, but prevent
// authenticator "downgrades".
// Let authenticator "upgrades" from non-resident (MFA) to resident
// (passwordless) happen, but prevent "downgrades" from resident to
// non-resident.
//
// Modern passkey implementations will "disobey" our MFA registrations and
// actually create passkeys, silently replacing the old passkey with the new
Expand Down

0 comments on commit 29346e2

Please sign in to comment.