Regards.
I want to make the login but avoid the user making the click login. Is that posible ?
I tried using the DOM but don't let me, it say's "Your session has expired : You need to sign in again.". If I manipulate the DOM in the console works, but not in a script in the index.html.
I programmatically fill teh username and password. This is the code (using a demo user):
<script type="text/javascript">
$('#signinFormInputUsername').val('demo');
$('#signinFormInputPassword').val('demo');
angular.element('button.btn-lg').trigger('click');
</script>
Also tried with document ready to be secure of all is loaded and also with a timeout.
Regards.
Regards.