File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/pages/[platform]/build-a-backend/auth/manage-users/manage-passwords Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -512,14 +512,17 @@ export const auth = defineAuth({
512
512
513
513
## Override default password policy
514
514
515
- You can customize the password format acceptable by your auth backend. By default your password policy is set to the following:
515
+ By default your password policy is set to the following:
516
516
517
517
- `MinLength`: 8 characters
518
518
- `requireLowercase`: true
519
519
- `requireUppercase`: true
520
- - `requireDigits`: true
520
+ - `requireNumbers`: true
521
+ - `requireSymbols`: true
521
522
- `tempPasswordValidity`: 3 days
522
523
524
+ You can customize the password format acceptable by your auth resource by modifying the underlying `cfnUserPool` resource:
525
+
523
526
```ts title=" amplify/ backend.ts "
524
527
import { defineBackend } from '@aws-amplify/backend';
525
528
import { auth } from './auth/resource';
You can’t perform that action at this time.
0 commit comments