zitadel / terraform-provider-zitadel

Official Terraform provider for ZITADEL
https://zitadel.com
Apache License 2.0
28 stars 17 forks source link

LoginPolicy.hide_password_reset inverts the setting #168

Closed ralf-cestusio closed 6 months ago

ralf-cestusio commented 7 months ago

Preflight Checklist

Version

1.1.1

ZITADEL Version

Cloud

Describe the problem caused by this bug

Setting hide_password_reset = false

Disables the password rest allowed option as seen in ui

To reproduce

Set a loginPolicy with the option set to false

Screenshots

No response

Expected behavior

Either the hidePasswordReset when set to true should disable password reset. Or the option should be renamed to AllowPasswordReset (or similar)

Relevant Configuration

No response

Additional Context

No response

ralf-cestusio commented 7 months ago

I looked a bit more through the zitadel source code. And its possible that the bug is on the webui side

eliobischof commented 6 months ago

I looked a bit more through the zitadel source code. And its possible that the bug is on the webui side

This is the case, and it's fixed with https://github.com/zitadel/zitadel/releases/tag/v2.51.4 and deployed to the Cloud