Skip to content

Commit 7a84d6c

Browse files
committed
fix: add max username length of 39 chars
1 parent c4c1104 commit 7a84d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/partials/body.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<form id="search-form" action="" method="get" action="#">
1414
<div class="input-group">
1515
<input type="text" class="form-control" autofocus="autofocus" id="username" name="username" placeholder="Github username"
16-
required title="Username cannot be empty or contain only spaces">
16+
required title="Username cannot be empty or contain only spaces" maxlength="39">
1717
<button type="submit" class="input-group-addon btn" name="" onClick="return validateInput();">
1818
<i class="fa fa-search"></i>
1919
</button>

0 commit comments

Comments
 (0)