Skip to content

Commit

Permalink
Merge pull request #64 from pikanglong/master
Browse files Browse the repository at this point in the history
Deleted confusing letters in the function generatepassword();
  • Loading branch information
ZsgsDesign authored Apr 7, 2019
2 parents 7259640 + bd46c14 commit e99303a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/AccountModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AccountModel extends Model
{
public function generatePassword($length=8)
{
$chars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
$chars='abcdefghjkmnpqrstuvwxyzABCDEFGHJKMNPQRSTUVWXYZ123456789';

$password='';
for ($i=0; $i<$length; $i++) {
Expand Down

0 comments on commit e99303a

Please sign in to comment.