Skip to content

Commit 3abd67a

Browse files
committed
minor #1074 Use a more friendly message about hardcoding user details (pierredup)
This PR was merged into the master branch. Discussion ---------- Use a more friendly message about hardcoding user details Commits ------- f771016 Use a more friendly message about hardcoding user details
2 parents d94fcc8 + f771016 commit 3abd67a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $(function() {
22
var usernameEl = $('#username');
33
var passwordEl = $('#password');
44

5-
// in a real application, hardcoding the user/password would be idiotic
5+
// in a real application, the user/password should never be hardcoded
66
// but for the demo application it's very convenient to do so
77
if (!usernameEl.val() || 'jane_admin' === usernameEl.val()) {
88
usernameEl.val('jane_admin');

0 commit comments

Comments
 (0)