Skip to content

Issue 1618 limit accepted message passwords based on password policy#1658

Merged
IvanPizhenko merged 9 commits intomasterfrom
issue_1618_limit_accepted_message_passwords_based_on_password_policy
Jan 23, 2022
Merged

Issue 1618 limit accepted message passwords based on password policy#1658
IvanPizhenko merged 9 commits intomasterfrom
issue_1618_limit_accepted_message_passwords_based_on_password_policy

Conversation

@DenBond7
Copy link
Collaborator

This PR added password policy

close #1618


Tests (delete all except exactly one):

  • Tests added or updated

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities

@DenBond7 DenBond7 marked this pull request as ready for review January 22, 2022 17:13
Copy link
Contributor

@IvanPizhenko IvanPizhenko left a comment

Choose a reason for hiding this comment

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

I have couple of questions here

}

override fun onDestroyView() {
super.onDestroyView()
Copy link
Contributor

Choose a reason for hiding this comment

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

If in onCreate() the sequence is such we first run superclass stuff then local, then, logically, destruction should do things in the opposite way. But here I see that super.onDestroyView() is called first, then some local cleanup is performed. Is it correct? If correct then why?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

:) It refers to the Fragments lifecycle. Usually, in overridden methods, we should call the super methods first to perform the basic logic that is described in the superclass. Sorry for the short answer but it's a little difficult to explain how Android works in a few lines :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

}

override fun onDestroy() {
super.onDestroy()
Copy link
Contributor

Choose a reason for hiding this comment

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

same question as above - why super.onDestroy() call comes first?

@IvanPizhenko IvanPizhenko merged commit 1acb204 into master Jan 23, 2022
@IvanPizhenko IvanPizhenko deleted the issue_1618_limit_accepted_message_passwords_based_on_password_policy branch January 23, 2022 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

limit accepted message passwords based on password policy

2 participants