grocy/public/viewjs/login.js
2018-04-16 19:11:32 +02:00

10 lines
196 B
JavaScript

$('.logout-button').hide();
$('#username').focus();
if (GetUriParam('invalid') === 'true')
{
$('#login-error').text(L('Invalid credentials, please try again'));
$('#login-error').show();
}