Skip to content

Commit fbbeea4

Browse files
authored
Merge pull request #22 from supabase/feature/magic-links
fix: stops special symbols corrupting json body intermittently
2 parents f0d0ec9 + 7e57ad5 commit fbbeea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/magic_link.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (a *API) MagicLink(w http.ResponseWriter, r *http.Request) error {
3737
if err != nil {
3838
if models.IsNotFoundError(err) {
3939
// User doesn't exist, sign them up with temporary password
40-
password, err := password.Generate(64, 10, 10, false, false)
40+
password, err := password.Generate(64, 10, 0, false, true)
4141
if err != nil {
4242
internalServerError("error creating user").WithInternalError(err)
4343
}

0 commit comments

Comments
 (0)