Skip to content

Commit

Permalink
Merge pull request #3408 from nextcloud/bugfix/noid/fix-password-poli…
Browse files Browse the repository at this point in the history
…cy-fallback-handling

Fix password_policy fallback handling
  • Loading branch information
skjnldsv committed Nov 2, 2022
2 parents a9d7419 + d8fc2a8 commit ecbac17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NcPasswordField/NcPasswordField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ import { generateOcsUrl } from '@nextcloud/router'
import { t } from '../../l10n.js'
import logger from '../../utils/logger.js'
const defaultPasswordPolicy = loadState('core', 'capabilities', { passwordPolicy: null }).password_policy
const defaultPasswordPolicy = loadState('core', 'capabilities', {}).password_policy || null
export default {
name: 'NcPasswordField',
Expand Down

0 comments on commit ecbac17

Please sign in to comment.