|
|
@ -94,14 +94,8 @@
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.complete(function (data) {
|
|
|
|
.complete(function (data) {
|
|
|
|
if (data.status == 200) {
|
|
|
|
if (data.status == 200) {
|
|
|
|
console.log('#####RESULT#####');
|
|
|
|
|
|
|
|
console.log(data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// window.localStorage.setItem("accessToken", data);
|
|
|
|
// window.localStorage.setItem("accessToken", data);
|
|
|
|
document.cookie = 'accessToken=' + data.responseText + '; path=/;';
|
|
|
|
document.cookie = 'accessToken=' + data.responseText + '; path=/;';
|
|
|
|
// console.log('#####header#####');
|
|
|
|
|
|
|
|
// console.log(data.response.headers);
|
|
|
|
|
|
|
|
// console.log(data.response.headers.get('Authorization'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
document.signinInfoForm.action = "<c:url value='/adm/main/actionSecurityLogin.do'/>";
|
|
|
|
document.signinInfoForm.action = "<c:url value='/adm/main/actionSecurityLogin.do'/>";
|
|
|
|
document.signinInfoForm.submit();
|
|
|
|
document.signinInfoForm.submit();
|
|
|
|