mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:41:15 +08:00
DEV: Rename experimental_passkeys
to enable_passkeys
(#24349)
Also includes a migration.
This commit is contained in:
@ -338,7 +338,7 @@ class SessionController < ApplicationController
|
||||
end
|
||||
|
||||
def passkey_login
|
||||
raise Discourse::NotFound unless SiteSetting.experimental_passkeys
|
||||
raise Discourse::NotFound unless SiteSetting.enable_passkeys
|
||||
|
||||
params.require(:publicKeyCredential)
|
||||
|
||||
|
Reference in New Issue
Block a user