Skip to content

Commit

Permalink
fix: typo accent -> account
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jul 3, 2020
1 parent ee42edb commit 984d978
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion selfservice/strategy/recoverytoken/strategy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func TestStrategy(t *testing.T) {
require.NoError(t, err)

require.Len(t, sr.Payload.Messages, 1)
assert.Equal(t, "You successfully recovered your accent. Please change your password or set up an alternative login method (e.g. social sign in) within the next 60.00 minutes.", sr.Payload.Messages[0].Text)
assert.Equal(t, "You successfully recovered your account. Please change your password or set up an alternative login method (e.g. social sign in) within the next 60.00 minutes.", sr.Payload.Messages[0].Text)
})

t.Run("description=should not be able to use an invalid link", func(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion text/message_recovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func NewRecoverySuccessful(privilegedSessionExpiresAt time.Time) *Message {
return &Message{
ID: InfoSelfServiceRecoverySuccessful,
Type: Info,
Text: fmt.Sprintf("You successfully recovered your accent. Please change your password or set up an alternative login method (e.g. social sign in) within the next %.2f minutes.", hasLeft.Minutes()),
Text: fmt.Sprintf("You successfully recovered your account. Please change your password or set up an alternative login method (e.g. social sign in) within the next %.2f minutes.", hasLeft.Minutes()),
Context: context(map[string]interface{}{
"privilegedSessionExpiresAt": privilegedSessionExpiresAt,
}),
Expand Down

0 comments on commit 984d978

Please sign in to comment.