',n=document.getElementById("username").value,t=document.getElementById("password").value;if(n==""){$.messager.alert("Warning","Input Username","warning",function(){document.getElementById("username").focus()});return}if(t==""){$.messager.alert("Warning","Input Password","warning",function(){document.getElementById("password").focus()});return}$.messager.progress({title:"Please waiting",msg:"Authentication Username & Password",text:""});$.ajax({type:"POST",url:"/Login/In",beforeSend:function(n){n.setRequestHeader("X-CSRF-TOKEN-HEADER-IKT",$(i).val())},data:{user_name:n,password:t},success:function(n){n.success?window.open("/","_self"):($.messager.progress("close"),$.messager.alert("Warning",n.message,"warning"))},error:function(n){$.messager.progress("close");$.messager.alert("Information",n.responseText,"info")}})}