Author Topic: bug in framework/Login.php  (Read 223 times)

Offline dehuisman

  • Posts: 24
  • Gender: Male
bug in framework/Login.php
« on: August 31, 2018, 10:50:23 AM »
In line 357 of framwrok/Login.php:

 $sClientIp = replace(['/\.\d*$/','/[\da-f]*:[\da-f]*$/'],['.000','XXXX:XXXX'],$sClientIp);

replace() is no known function.  Should be a preg_replace () ?

Offline dbs

  • Betatester
  • **
  • Posts: 7553
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: bug in framework/Login.php
« Reply #1 on: August 31, 2018, 11:13:42 AM »
Hi, in next version is this fix included.
A extra Login-Fix is in the add-ons repository on the startpage (with a different name).
https://addon.WebsiteBaker.org/pages/en/home.php

Offline frankyboy

  • Posts: 120
  • Gender: Male
  • Sächsischer Schlagerstar
    • Chemnitz Chamber Choir
Re: bug in framework/Login.php
« Reply #2 on: October 25, 2018, 05:26:21 PM »
Thx 4 this thread. one user was able to login via mobile but not when his mobile phone was connected to her wifi. this fix was the solution. thx again.
Disko-King.de