Skip to content

Commit

Permalink
fix: verification error code (#1967)
Browse files Browse the repository at this point in the history
Closes #1956
  • Loading branch information
grantzvolsky authored Nov 22, 2021
1 parent 33a50f6 commit 44411ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/docs/concepts/ui-user-interface.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1412,11 +1412,11 @@ will be overwritten!
}
```

###### You successfully verified your email address. (1060001)
###### You successfully verified your email address. (1070002)

```json
{
"id": 1060001,
"id": 1070002,
"text": "You successfully verified your email address.",
"type": "info"
}
Expand Down
4 changes: 2 additions & 2 deletions text/message_verification.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
const (
InfoSelfServiceVerification ID = 1070000 + iota // 1070000
InfoSelfServiceVerificationEmailSent // 1070001
InfoSelfServiceVerificationSuccessful // 1060002
InfoSelfServiceVerificationSuccessful // 1070002
)

const (
Expand All @@ -33,7 +33,7 @@ func NewErrorValidationVerificationFlowExpired(ago time.Duration) *Message {

func NewInfoSelfServiceVerificationSuccessful() *Message {
return &Message{
ID: InfoSelfServiceRecoverySuccessful,
ID: InfoSelfServiceVerificationSuccessful,
Type: Info,
Text: "You successfully verified your email address.",
}
Expand Down

0 comments on commit 44411ab

Please sign in to comment.