Skip to content

Commit

Permalink
Merge pull request #850 from basedosdados/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
AldemirLucas authored May 20, 2024
2 parents 446f9af + 3c2bfe8 commit d4a75cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/pages/user/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function Register() {
}
setErrors(arrayErrors)

if(result?.errors?.length === 0) {
if(result?.success === true) {
sessionStorage.setItem('registration_email_bd', `${email}`)
triggerGAEvent("user_register", "register_success")
window.open("/user/check-email", "_self")
Expand Down

0 comments on commit d4a75cd

Please sign in to comment.