Skip to content

Commit

Permalink
Name change for configMagicLinkAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxcarlson committed Jul 23, 2024
1 parent e43c34f commit 26e070f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion preview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions preview/src/ReviewConfig.elm
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import String.Extra



config = makeConfig "Jim Carlson" "jxxcarlson" "[email protected]"
config = configMagicLinkAuth "Jim Carlson" "jxxcarlson" "[email protected]"


makeConfig fullname username email =
configMagicLinkAuth fullname username email =
configAll {fullname = fullname, username = username, email = email }

stringifyAdminConfig : { fullname : String, username : String, email : String } -> String
Expand Down

0 comments on commit 26e070f

Please sign in to comment.