WIP: Rename Webauthn to DiscourseWebauthn (#23077)

This commit is contained in:
Penar Musaraj
2023-08-18 08:39:10 -04:00
committed by GitHub
parent 16c6ab8661
commit 10c6b2a0c2
17 changed files with 135 additions and 88 deletions

View File

@ -182,7 +182,7 @@ RSpec.describe SecondFactorManager do
before do
disable_totp
simulate_localhost_webauthn_challenge
Webauthn.stage_challenge(user, secure_session)
DiscourseWebauthn.stage_challenge(user, secure_session)
end
context "when security key params are valid" do
@ -264,7 +264,7 @@ RSpec.describe SecondFactorManager do
before do
simulate_localhost_webauthn_challenge
Webauthn.stage_challenge(user, secure_session)
DiscourseWebauthn.stage_challenge(user, secure_session)
end
context "when method selected is invalid" do
@ -312,7 +312,7 @@ RSpec.describe SecondFactorManager do
before do
simulate_localhost_webauthn_challenge
Webauthn.stage_challenge(user, secure_session)
DiscourseWebauthn.stage_challenge(user, secure_session)
end
context "when security key params are valid" do