This commit is contained in:
Remi 2016-03-03 13:45:11 +01:00
parent 5ab6a47862
commit c18e3ca9f3
2 changed files with 6 additions and 3 deletions

View File

@ -26,6 +26,11 @@
require_once("../class/config_nochk.php");
if ($mem->checkid()) {
Header("Location: /main.php");
exit;
}
if (!$mem->del_session()) {
// No need to draw an error message ...
//$error=$err->errstr();
@ -91,7 +96,7 @@ if ( empty($logo) || ! $logo ) {
<div class="menu-content">
<div><label for="username"><?php echo _("Username"); ?></label></td><td><input type="text" class="int" name="username" id="username" value="" maxlength="128" autocapitalize="none" /></div>
<div><label for="password"><?php echo _("Password"); ?></label></td><td><input type="password" class="int" name="password" id="password" value="" maxlength="128" /></div>
<div class="submit"><input type="submit" class="inb" name="submit" onclick='return logmein();' value="<?php __("Enter"); ?>" /><input type="hidden" id="restrictip" name="restrictip" value="1" />
<div class="submit"><input type="submit" class="inb" name="submit" onclick='return logmein();' value="<?php __("Enter"); ?>" /><input type="hidden" id="restrictip" name="restrictip" value="0" />
<input type="hidden" id="authip_token" name="authip_token" value="<?php echo htmlentities( (empty($authip_token)?'':$authip_token) ) ?>" /></div>
</div>
</form>

View File

@ -213,8 +213,6 @@ if ($oldid && $oldid != $cuid) {
$isinvited = true;
}
variable_get('aaa1', '', 'plop');
// Init some vars
variable_get('hosting_tld', '', 'This is a FQDN that designates the main hostname of the service. For example, hosting_tld determines in what TLD the "free" user domain is created. If this is set to "example.com", a checkbox will appear in the user creation dialog requesting the creator if he wants to create the domain "username.example.com".', array('desc' => 'Wanted FQDN', 'type' => 'string'));