Skip to content

Commit f771016

Browse files
authored
Use a more friendly message about hardcoding user details
1 parent d94fcc8 commit f771016

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)