The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.28 (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
Programmatic Login
#2
Anything is possible!

What you would have to do to make something like this is to copy the login form over to the usersc folder and change the line that mentions init (line 25) to:

Code:
<?php require_once '../users/init.php'; ?>

From there, you can modify the login form to your heart's content.

The request itself does have a CSRF protection system, but there's nothing stopping you from either redirecting to another page and looking for a response from your app or only looking for it on submission of that particular form and not all $_POST.
  Reply


Messages In This Thread
Programmatic Login - by geomC - 08-21-2017, 05:54 AM
Programmatic Login - by mudmin - 08-21-2017, 12:19 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)