Skip to content

Commit

Permalink
Flag old hashes as private
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 committed Oct 20, 2023
1 parent 6eb6f24 commit d5dffaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class Config:
('add', Str('sid', null=True)),
('add', Datetime('last_password_change', null=True)),
('add', Int('password_age', null=True)),
('add', List('password_history', null=True)),
('add', List('password_history', items=[Password('old_hash')], null=True)),
)

@private
Expand Down

0 comments on commit d5dffaa

Please sign in to comment.