Changeset 5868


Ignore:
Timestamp:
Sep 20, 2017, 8:59:52 AM (2 years ago)
Author:
joamuran
Message:

fixed login.js to get credentials

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/js/login.js

    r5221 r5868  
    5656
    5757loginManager.prototype.login = function login(){
     58  var self=this;
    5859  $("body").addClass("CursorWaiting");
    5960  var credentials=[sessionStorage.username , sessionStorage.password];
     
    6162  var n4dmethod="validate_user";
    6263  var arglist="";
     64 
    6365  Utils.n4dSecure(credentials, n4dclass, n4dmethod, arglist, function(response){
    6466    //$("body").removeClass("CursorWaiting");
     
    8486        }
    8587        sessionStorage.clear();
     88    self.getCertificates(); // getting certificates into session
     89   
    8690
    8791        //alert("Username or password error!");
     
    101105        }
    102106        sessionStorage.clear();
     107        self.getCertificates(); // getting certificates into session
    103108
    104109
Note: See TracChangeset for help on using the changeset viewer.