Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional parameter to editbox setting to obscure passwords, close #763 #802

Merged
merged 2 commits into from
Nov 22, 2017

Conversation

commy2
Copy link
Contributor

@commy2 commy2 commented Nov 21, 2017

When merged this pull request will:

@commy2 commy2 added this to the 3.5 milestone Nov 21, 2017
@@ -89,6 +89,7 @@ switch (toUpper _settingType) do {
};
case "EDITBOX": {
_defaultValue = _valueInfo param [0, "", [""]]; // don't use params - we want these variables to be private to the main scope
_settingData pushBack (_valueInfo param [1, false]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to be safe, maybe add type checking param [1, false, [false]]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I already have isEqualTo true check in the place where I read this one.

@commy2 commy2 changed the title add optional parameter to editbox setting to obfuscate passwords, close #763 add optional parameter to editbox setting to obscure passwords, close #763 Nov 21, 2017
Copy link
Member

@jonpas jonpas left a comment

Choose a reason for hiding this comment

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

Looks neat.

@commy2 commy2 merged commit 4ef6b74 into master Nov 22, 2017
@commy2 commy2 deleted the settings-3.5-editbox-passwords branch November 22, 2017 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request - Settings EditBox text not visible on clients
3 participants