diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index dbbea7482..b7497816c 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -789,6 +789,7 @@ class Lotw extends CI_Controller { $ret['details']= sprintf(__("LoTW login failed for user %s: %s."), $data['user_lotw_name'], __("Username/password incorrect")); } else { $ret['status']='OK'; + $ret['details']= __("LoTW login OK!"); } } else { $ret['status']='failed_na'; diff --git a/assets/js/sections/user.js b/assets/js/sections/user.js index 8896b7752..a9e75cafd 100644 --- a/assets/js/sections/user.js +++ b/assets/js/sections/user.js @@ -75,7 +75,7 @@ $(document).ready(function(){ if(res.status == 'OK') { btn_div.addClass('alert-success'); msg_div.addClass('alert-success'); - msg_div.text('LoTW login OK!'); + msg_div.text(res.details); msg_div.show(); btn_div.show(); } else {