SMS eleminate I and l from passcode
This commit is contained in:
parent
b9ea583d3d
commit
e1a82cc78e
1 changed files with 1 additions and 0 deletions
|
@ -757,6 +757,7 @@ public class SmsCommunicatorPlugin extends PluginBase {
|
|||
passCode += Character.toString((char) (startChar2 + Math.random() * ('z' - 'a' + 1)));
|
||||
int startChar3 = Math.random() > 0.5 ? 'a' : 'A';
|
||||
passCode += Character.toString((char) (startChar3 + Math.random() * ('z' - 'a' + 1)));
|
||||
passCode.replace('l','k').replace('I', 'J');
|
||||
return passCode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue