Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Avoid attribute error when password_config present but empty #6753

Merged
merged 3 commits into from
Jan 22, 2020

Conversation

ivilata
Copy link
Contributor

@ivilata ivilata commented Jan 21, 2020

The old statement returned None for such a password_config (like the one
created on first run), thus retrieval of the pepper key failed with
AttributeError.

Fixes #5315

Signed-off-by: Ivan Vilata i Balaguer [email protected]

The old statement returned `None` for such a `password_config` (like the one
created on first run), thus retrieval of the `pepper` key failed with
`AttributeError`.

Fixes matrix-org#5315

Signed-off-by: Ivan Vilata i Balaguer <[email protected]>
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks very much!

@richvdh richvdh merged commit 837f622 into matrix-org:develop Jan 22, 2020
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '837f62266':
  Avoid attribute error when `password_config` present but empty (#6753)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants