The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to force user login only one device at a time ?
#7
Thank you Brandin,

I created the following sample code

PHP Code:
<?php require_once '../../users/init.php'?>
<?php
$remove 
=[3];
removePermission($remove2);
// $add = [3];
// addPermission($add, 2,'user' 
If I browse this file by logging in as admin from browser than the permission is changed successfully. But if I put it into cron than the permission is not changed. May be that has to do with the init.php which requires login. How can I successfully implement this in cron.
  Reply


Messages In This Thread
RE: How to force user login only one device at a time ? - by rockfight - 09-03-2018, 07:03 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)