/[drupal]/contributions/modules/hotspot/hotspot.inc
ViewVC logotype

Diff of /contributions/modules/hotspot/hotspot.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2.2.2, Fri Jul 31 19:34:48 2009 UTC revision 1.2.2.3, Wed Aug 19 17:16:46 2009 UTC
# Line 67  function hotspot_chap_response($pass) { Line 67  function hotspot_chap_response($pass) {
67    
68  function hotspot_login_url($username, $password) {  function hotspot_login_url($username, $password) {
69    
70      $loginurl = hotspot_get_param('loginurl');
71    
72      if ($loginurl && $loginurl != '') {
73        return $loginurl . '?username=' . $username . '&password=' . $password;
74      }
75    
76    if (variable_get('hotspot_authproto', 'chap') == 'chap') {    if (variable_get('hotspot_authproto', 'chap') == 'chap') {
77    
78      $response = hotspot_chap_response($password);      $response = hotspot_chap_response($password);

Legend:
Removed from v.1.2.2.2  
changed lines
  Added in v.1.2.2.3

  ViewVC Help
Powered by ViewVC 1.1.2