Skip to content

Update totp.rst#275

Merged
scheb merged 1 commit intoscheb:7.xfrom
gturri:patch-1
Apr 28, 2025
Merged

Update totp.rst#275
scheb merged 1 commit intoscheb:7.xfrom
gturri:patch-1

Conversation

@gturri
Copy link
Contributor

@gturri gturri commented Apr 27, 2025

The constructor of TotpConfiguration expects the first parameter $secret to be a string. So if it is null, it will generate an error at runtime. OTHO the method TwoFactorInterface.getTotpAuthenticationUsername() is expected to return a ?TotpConfigurationInterface, so it's ok if we return null in this situation

Description

The constructor of TotpConfiguration expects the first parameter $secret to be a string. So if it is null, it will generate an error at runtime.
OTHO the method TwoFactorInterface.getTotpAuthenticationUsername() is expected to return a ?TotpConfigurationInterface, so it's ok if we return null in this situation
@scheb scheb merged commit 6cd1824 into scheb:7.x Apr 28, 2025
11 checks passed
@scheb
Copy link
Owner

scheb commented Apr 28, 2025

Thanks! Merged.

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.

2 participants