Skip to content

Commit

Permalink
Update SMTPProviderConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttrinh committed Jan 7, 2025
1 parent 4a8d174 commit 1941522
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/changelog/6_x.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
21 changes: 7 additions & 14 deletions docs/guides/auth/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,20 +212,13 @@ great for testing in development:

.. code-block:: edgeql
CONFIGURE CURRENT BRANCH SET
ext::auth::SMTPConfig::sender := '[email protected]';
CONFIGURE CURRENT BRANCH SET
ext::auth::SMTPConfig::host := 'localhost';
CONFIGURE CURRENT BRANCH SET
ext::auth::SMTPConfig::port := <int32>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 := '[email protected]',
host := 'localhost',
port := <int32>1025,
security := 'STARTTLSOrPlainText',
validate_certs := false,
};
OAuth
Expand Down

0 comments on commit 1941522

Please sign in to comment.