Commit 1aa25b8a by vietdo

#15838 暗号化されたログインIDとパスワードの受け取りと自動ログイン

parent cf8f27d7
......@@ -11,6 +11,7 @@ LOGIN.force_pw_change_on_login;
LOGIN.force_pw_change_periodically;
LOGIN.user_data_backup;
LOGIN.marking;
LOGIN.login_error_flag = false;
LOGIN.force_login_periodically;
LOGIN.login_errorMessage = "";
LOGIN.avwUserEnvObj = new UserEnvironment();
......@@ -161,7 +162,6 @@ LOGIN.checkDialogValidation = function() {
//Login Process
LOGIN.processLogin = function(paramLid, paramP) {
var accountPath = "";
var loginId = "";
var password = "";
......@@ -352,6 +352,7 @@ LOGIN.processLogin = function(paramLid, paramP) {
}
}, function (xhr, statusText, errorThrown) {
LOGIN.login_error_flag = true;
if (xhr.responseText && xhr.status != 0) {
LOGIN.login_errorMessage = JSON.parse(xhr.responseText).errorMessage;
......@@ -360,6 +361,7 @@ LOGIN.processLogin = function(paramLid, paramP) {
$('#main-error-message').html(AVWEB.format(I18N.i18nText('msgLoginErrWrong'), 'E001'));
}
$('#main-error-message').show();
$('#formlogin').show();
});
};
......@@ -981,19 +983,24 @@ LOGIN.ready = function(){
$('#formlogin').hide();
$('#logologin').animate({ "margin-top": 0 }, LOGIN.timeWaitSplashScreen,
function () {
console.log("fsdfsd");
if(( paramLid == '' && paramP == '') || ( paramLid != '' && paramP != '' && LOGIN.login_error_flag == true)){
$('#formlogin').show();
}
$('#menu-language').animate({ opacity: 1 }, LOGIN.timeWaitSplashScreen);
if( paramLid != '' && paramP != '' && LOGIN.login_error_flag == false){
$('#formlogin').css("opacity","0");
} else {
$('#formlogin').animate({ opacity: 1 }, LOGIN.timeWaitSplashScreen);
}
$('.cnt_footer').animate({ opacity: 1 }, LOGIN.timeWaitSplashScreen);
}
);
if( paramLid != '' && paramP != '' ){
LOGIN.processLogin(paramLid, paramP);
} else {
LOGIN.initLoginNormalUser();
$('#formlogin').show();
}
}
};
//});
......
......@@ -72,14 +72,15 @@
<ul class="floatR" id="menu-language"><li class="language"><a id="language-ja"><img src="./abvw/img/common/flg_jpn.png" width="29" height="20"></a></li><li class="language"><a id="language-en"><img src="./abvw/img/common/flg_usa.png" width="29" height="20"></a></li><li class="language"><a id="language-ko"><img src="./abvw/img/common/flg_kor.png" width="29" height="20"></a></li></ul>
<article>
<img src="./abvw/img/login/logo_login.png" width="200" class="clearboth" id="logologin">
<section id="formlogin">
<section id="formlogin" style="display:none;">
<table width="440" border="0" cellspacing="0">
<table id="msgdotoru" width="440" border="0" cellspacing="0" >
<tr>
<th width="100%" >ポータルサイトからログインしてください</th>
</tr>
</table>
<input type="hidden" id="txtAccPath" value="vietdh" />
<input type="hidden" id="txtAccPath" value="" />
<!--
<table width="440" border="0" cellspacing="0">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment