Project

General

Profile

Bug #1264

httpsname is forgotten on services/captiveportal config

Added by Thomas NOEL over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
02/08/2011
Due date:
% Done:

100%

Estimated time:
0.10 h
Affected Version:
2.0
Affected Architecture:
All

Description

httpsname is forgotten on the services/captiveportal config page.

Here is a patch

--- orig/services_captiveportal.php    2011-02-08 11:22:57.273299913 +0100
+++ new/services_captiveportal.php    2011-02-08 11:23:23.837299896 +0100
@@ -82,6 +82,7 @@
 $pconfig['reauthenticate'] = isset($config['captiveportal']['reauthenticate']);
 $pconfig['reauthenticateacct'] = $config['captiveportal']['reauthenticateacct'];
 $pconfig['httpslogin_enable'] = isset($config['captiveportal']['httpslogin']);
+$pconfig['httpsname'] = $config['captiveportal']['httpsname'];
 $pconfig['preauthurl'] = strtolower($config['captiveportal']['preauthurl']);
 $pconfig['cert'] = base64_decode($config['captiveportal']['certificate']);
 $pconfig['cacert'] = base64_decode($config['captiveportal']['cacertificate']);

services_captiveportal.php.diff (702 Bytes) services_captiveportal.php.diff Thomas NOEL, 02/08/2011 08:39 AM

Associated revisions

Revision 8f29b892 (diff)
Added by Ermal Luçi over 8 years ago

Resolves #1264. Read even the httpsname option from config so it displays correctly.

History

#1 Updated by Ermal Luçi over 8 years ago

Committed thx.

#2 Updated by Ermal Luçi over 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 30 to 100

#3 Updated by Ermal Luçi over 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF