diff --git a/docs/changelog/6_x.rst b/docs/changelog/6_x.rst index e8f1fe8dc46..79bab33309a 100644 --- a/docs/changelog/6_x.rst +++ b/docs/changelog/6_x.rst @@ -196,7 +196,7 @@ We've introduced several new features to our authentication extension: **Breaking changes** - We have moved our SMTP configuration into a new top-level - ``Config::SMTPProvider`` configuration object. During the upgrade process, + ``cfg::SMTPProviderConfig`` configuration object. During the upgrade process, your existing SMTP configuration will be migrated to this new object. If you have any scripts that configure SMTP directly, update them to use the new object. diff --git a/docs/guides/auth/index.rst b/docs/guides/auth/index.rst index 266360a1bc7..2f17faf405e 100644 --- a/docs/guides/auth/index.rst +++ b/docs/guides/auth/index.rst @@ -212,20 +212,13 @@ great for testing in development: .. code-block:: edgeql - CONFIGURE CURRENT BRANCH SET - ext::auth::SMTPConfig::sender := 'hello@example.com'; - - CONFIGURE CURRENT BRANCH SET - ext::auth::SMTPConfig::host := 'localhost'; - - CONFIGURE CURRENT BRANCH SET - ext::auth::SMTPConfig::port := 1025; - - CONFIGURE CURRENT BRANCH SET - ext::auth::SMTPConfig::security := 'STARTTLSOrPlainText'; - - CONFIGURE CURRENT BRANCH SET - ext::auth::SMTPConfig::validate_certs := false; + CONFIGURE CURRENT BRANCH INSERT cfg::SMTPProviderConfig { + sender := 'hello@example.com', + host := 'localhost', + port := 1025, + security := 'STARTTLSOrPlainText', + validate_certs := false, + }; OAuth