Changeset 11 for trunk/Modules/User


Ignore:
Timestamp:
Jun 18, 2023, 9:57:03 AM (18 months ago)
Author:
chronos
Message:
  • Fixed: IPv6 needs longer string in database.
Location:
trunk/Modules/User
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/ModuleUser.php

    r10 r11  
    3131      '`Email` varchar(128) NOT NULL DEFAULT "",'.
    3232      '`BirthDate` date NULL,'.
    33       '`LastIpAddress` varchar(16) NOT NULL DEFAULT "",'.
     33      '`LastIpAddress` varchar(45) NOT NULL DEFAULT "",'.
    3434      '`LastLoginTime` datetime NULL,'.
    3535      '`RegistrationTime` datetime NULL,'.
     
    4545      '`LoginTime` datetime NULL,'.
    4646      '`SessionId` varchar(255) NOT NULL DEFAULT "",'.
    47       '`IpAddress` varchar(16) NOT NULL DEFAULT "",'.
     47      '`IpAddress` varchar(45) NOT NULL DEFAULT "",'.
    4848      '`HostName` varchar(255) NOT NULL DEFAULT "",'.
    4949      '`ScriptName` varchar(255) NOT NULL,'.
  • trunk/Modules/User/PageUserList.php

    r8 r11  
    1313  function Show(): string
    1414  {
    15     if (!$this->System->User->CheckPermission('User', 'ShowList'))
     15    if (!Core::Cast($this->System)->User->CheckPermission('User', 'ShowList'))
    1616      return 'Nemáte oprávnění';
    1717
Note: See TracChangeset for help on using the changeset viewer.