Skip to content

Commit

Permalink
Merge branch 'master' into split-spacelister-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrancisc authored Jan 11, 2024
2 parents f4790b5 + 74cff47 commit 434e2c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controller/signup.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func (s *Signup) GetHandler(ctx *gin.Context) {

// VerifyPhoneCodeHandler validates the phone verification code passed in by the user
func (s *Signup) VerifyPhoneCodeHandler(ctx *gin.Context) {
log.Info(ctx, "Verifying phone code")
code := ctx.Param("code")
if code == "" {
log.Error(ctx, nil, "no phone code provided in the request")
Expand All @@ -149,6 +150,7 @@ func (s *Signup) VerifyPhoneCodeHandler(ctx *gin.Context) {
return
}
ctx.Status(http.StatusOK)
log.Info(ctx, "Verified phone code")
}

// VerifyActivationCodeHandler validates the activation code passed in by the user as a form value
Expand Down

0 comments on commit 434e2c8

Please sign in to comment.