Skip to content

Commit

Permalink
Fixed Usernames to be unique from generator , and fixed buttons in ta…
Browse files Browse the repository at this point in the history
…g admin
  • Loading branch information
Thoma5 committed Jan 30, 2017
1 parent 1669c1b commit 9efecd6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}

* .btn {
border-radius: 0;
@extend %btn;
}

.overlay {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

* .btn {
border-radius: 0;
@extend %btn;
}
small {
color: darkgrey;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

* .btn {
border-radius: 0;
@extend %btn;
}
small {
color: darkgrey;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}

* .btn {
border-radius: 0;
@extend %btn;
}

.overlay {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}

* .btn {
border-radius: 0;
@extend %btn;
}

small {
Expand Down
2 changes: 1 addition & 1 deletion samples/bigsamples.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class User:
def __init__(self, usercount):
self.id = random_uuid()
self.name = faker.name()
self.username = re.sub(r"[^a-z0-9_]", "", self.name.lower())
self.username = re.sub(r"[^a-z0-9_]", "", self.name.lower()) + str(usercount)
self.mail = re.sub(r"[^a-z0-9_]", "", self.name.lower()) + "@example.invalid"
self.password_hash = PASSWORD_HASH
self.role = ROLES[min(2, usercount %10)]
Expand Down

0 comments on commit 9efecd6

Please sign in to comment.