From 26e070fb7d663ce9083a331af00e08faa7a41148 Mon Sep 17 00:00:00 2001 From: James Carlson Date: Tue, 23 Jul 2024 13:58:14 -0400 Subject: [PATCH] Name change for configMagicLinkAuth --- preview/README.md | 2 +- preview/src/ReviewConfig.elm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/preview/README.md b/preview/README.md index a6c0e46..95bcfc0 100644 --- a/preview/README.md +++ b/preview/README.md @@ -8,7 +8,7 @@ The ReviewConfig.elm file exposes a function to configure a rule for installing magic-link authentication in a Lamdera app: ``` -config = makeConfig REAL_NAME USER NAME EMAIL +config = configMagicLinkAuth REAL_NAME USER NAME EMAIL ``` # Setup diff --git a/preview/src/ReviewConfig.elm b/preview/src/ReviewConfig.elm index 7475dbc..18427fb 100644 --- a/preview/src/ReviewConfig.elm +++ b/preview/src/ReviewConfig.elm @@ -27,10 +27,10 @@ import String.Extra -config = makeConfig "Jim Carlson" "jxxcarlson" "jxxcarlson@gmail.com" +config = configMagicLinkAuth "Jim Carlson" "jxxcarlson" "jxxcarlson@gmail.com" -makeConfig fullname username email = +configMagicLinkAuth fullname username email = configAll {fullname = fullname, username = username, email = email } stringifyAdminConfig : { fullname : String, username : String, email : String } -> String