Skip to content

Commit

Permalink
update: names.
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzNotABug authored and albnunes committed Nov 15, 2024
1 parent 01b7416 commit 90f0893
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions app/assets/security/10k-common-passwords
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ august
sammy
cool
brian
brien
platinum
jake
bronco
Expand Down Expand Up @@ -1935,6 +1936,7 @@ panama
lucy
buffy
brianna
brienna
welcome1
vette
blue22
Expand Down Expand Up @@ -3053,6 +3055,7 @@ randall
abstr
napster
brian1
brien1
bogart
high
hitler
Expand Down Expand Up @@ -4123,6 +4126,7 @@ truman
cubbies
nitram
briana
briena
ebony
kings
warner
Expand Down
8 changes: 4 additions & 4 deletions app/controllers/api/avatars.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@

$isPlatinum = $user->getInternalId() % 100 === 0;
} else {
$name = $mock === 'normal-long' ? 'Sir First Walter O\'Brian Junior' : 'Walter O\'Brian';
$name = $mock === 'normal-long' ? 'Sir First Walter O\'Brien Junior' : 'Walter O\'Brien';
$createdAt = new \DateTime('now');
$githubName = $mock === 'normal-no-github' ? '' : ($mock === 'normal-long' ? 'sir-first-walterobrian-junior' : 'walterobrian');
$githubName = $mock === 'normal-no-github' ? '' : ($mock === 'normal-long' ? 'sir-first-walterobrien-junior' : 'walterobrien');
$isHero = $mock === 'hero';
$isContributor = $mock === 'contributor';
$isEmployee = \str_starts_with($mock, 'employee');
Expand Down Expand Up @@ -900,9 +900,9 @@
} else {
$bgVariation = \str_ends_with($mock, '-bg2') ? '2' : (\str_ends_with($mock, '-bg3') ? '3' : '1');
$cardVariation = \str_ends_with($mock, '-right') ? '2' : (\str_ends_with($mock, '-middle') ? '3' : '1');
$name = \str_starts_with($mock, 'normal-long') ? 'Sir First Walter O\'Brian Junior' : 'Walter O\'Brian';
$name = \str_starts_with($mock, 'normal-long') ? 'Sir First Walter O\'Brien Junior' : 'Walter O\'Brien';
$createdAt = new \DateTime('now');
$githubName = $mock === 'normal-no-github' ? '' : (\str_starts_with($mock, 'normal-long') ? 'sir-first-walterobrian-junior' : 'walterobrian');
$githubName = $mock === 'normal-no-github' ? '' : (\str_starts_with($mock, 'normal-long') ? 'sir-first-walterobrien-junior' : 'walterobrien');
$isHero = \str_starts_with($mock, 'hero');
$isContributor = \str_starts_with($mock, 'contributor');
$isEmployee = \str_starts_with($mock, 'employee');
Expand Down

0 comments on commit 90f0893

Please sign in to comment.