Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fix empty string parsing for GOTRUE_SMS_TEST_OTP_VALID_UNTIL #1234

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

hf
Copy link
Contributor

@hf hf commented Aug 27, 2023

Fixes an issue when GOTRUE_SMS_TEST_OTP_VALID_UNTIL="" the time.Time.UnmarshalText() function is called which does not handle empty strings. An empty string generally means unset.

Note that *time.Time would not work for the same reason.

@hf hf requested a review from a team as a code owner August 27, 2023 09:20
@hf hf merged commit 25f2dcb into master Sep 4, 2023
1 check passed
@hf hf deleted the hf/sms-test-otp-valid-until-empty-string-fix branch September 4, 2023 08:48
@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

🎉 This PR is included in version 2.95.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants