Skip to content

Fixing spacing issues #4996

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

Merged
merged 1 commit into from
Jan 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func resetPassword(username: String) -> AnyCancellable {

</BlockSwitcher>

Usually resetting the password require you to verify that it is the actual user that tried to reset the password. So the next step above will be `.confirmResetPasswordWithCode`.
Usually resetting the password require you to verify that it is the actual user that tried to reset the password. The next step above will be `.confirmResetPasswordWithCode`.

If you are using Cognito and would like to display a more specific view or messaging to your users based the error that occurred, you can handle this by downcasting the `underlyingError` to `AWSCognitoAuthError`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func resetPassword(username: String) -> AnyCancellable {

</BlockSwitcher>

Usually resetting the password require you to verify that it is the actual user that tried to reset the password. So the next step above will be `.confirmResetPasswordWithCode`.
Usually resetting the password require you to verify that it is the actual user that tried to reset the password. The next step above will be `.confirmResetPasswordWithCode`.

If you are using Cognito and would like to display a more specific view or messaging to your users based the error that occurred, you can handle this by downcasting the `underlyingError` to `AWSCognitoAuthError`.

Expand Down
2 changes: 1 addition & 1 deletion src/fragments/lib/utilities/js/hub.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ When using a "Capturing Group" (e.g. parenthesis grouping regular expressions) a

```javascript
Hub.listen(/user(.*)/, (data) => {
console.log('A USER event has been found matching the pattern: ', data.payload.message );
console.log('A USER event has been found matching the pattern: ', data.payload.message);
console.log('patternInfo:', data.patternInfo);
})
```
Expand Down