Univention Bugzilla – Attachment #10665: check_cracklib patch for bug #50648
try:
pwdCheck.check(params['new-password'])
print('APPROVED')
except ValueError as exc:
except univention.password.CheckFailed as exc:
print(str(exc))