includes/clientside/static/login.js
changeset 1070 617366710de2
parent 1065 18d013f98fd0
child 1075 f4b89aa4226d
equal deleted inserted replaced
1069:d54e7620bd3e 1070:617366710de2
    96 /**
    96 /**
    97  * Switch to decide if DiffieHellman shows a "browser incompatible" error
    97  * Switch to decide if DiffieHellman shows a "browser incompatible" error
    98  * @var bool
    98  * @var bool
    99  */
    99  */
   100 
   100 
   101 var ajax_login_prevent_dh = IE || is_iPhone;
   101 var ajax_login_prevent_dh = IE || ( is_iPhone && !is_iPhone_3 );
   102 
   102 
   103 /**
   103 /**
   104  * Performs the AJAX request to get an encryption key and from there spawns the login form.
   104  * Performs the AJAX request to get an encryption key and from there spawns the login form.
   105  * @param function The function that will be called once authentication completes successfully.
   105  * @param function The function that will be called once authentication completes successfully.
   106  * @param int The security level to authenticate at - see http://docs.enanocms.org/Help:Appendix_B
   106  * @param int The security level to authenticate at - see http://docs.enanocms.org/Help:Appendix_B