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
/printthread.php 16 require_once



UserSpice
What to do after install? - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.4 (https://userspice.com/forums/forumdisplay.php?fid=27)
+--- Thread: What to do after install? (/showthread.php?tid=1506)



What to do after install? - leostereo - 06-01-2019

Hi guys , I sucessfully installed userspice.
After login with default admin/password credentials could access to dashboard.
No it is not clear for me how to continue.
I would like to set userspice login page as starting point for mi web and then have the login result back so i can provide specific resources.
Is that posible ?
Regards,
Leandro.


RE: What to do after install? - mudmin - 06-01-2019

Hi Leandro,
I'm not sure I totally understand your question.

So you are saying when a user first comes to your page, if they are not logged in, you want them to be redirected to the login page?

If that is what you're doing, you want to add the following php on line 12 of index.php before the ?>
if(!isset($user) || !$user->isLoggedIn()){ Redirect::to('users/login.php'); }