zitadel / terraform-provider-zitadel

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

LoginPolicy.hide_password_reset inverts the setting #168

Closed ralf-cestusio closed 1 month ago

ralf-cestusio commented 3 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 2 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 1 month 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