1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Set form actions correctly

This commit is contained in:
Joe Haig 2016-09-11 20:48:12 +01:00
parent c8cca832c8
commit 8e179f0614
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ function DisplayAuthConfig($username, $password){
<div class="panel-heading"><i class="fa fa-lock fa-fw"></i>Configure Auth</div>
<div class="panel-body">
<p><?php $status->showMessages(); ?></p>
<form role="form" action="/?page=auth_conf" method="POST">
<form role="form" action="?page=auth_conf" method="POST">
<?php CSRFToken() ?>
<div class="row">
<div class="form-group col-md-4">

View File

@ -67,7 +67,7 @@ function DisplayHostAPDConfig(){
<div class="panel-heading"><i class="fa fa-dot-circle-o fa-fw"></i> Configure hotspot</div>
<!-- /.panel-heading -->
<div class="panel-body">
<form role="form" action="/?page=hostapd_conf" method="POST">
<form role="form" action="?page=hostapd_conf" method="POST">
<!-- Nav tabs -->
<ul class="nav nav-tabs">
<li class="active"><a href="#basic" data-toggle="tab">Basic</a></li>