The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
2-Factor Authentication (2FA - Done) - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29) +--- Thread: 2-Factor Authentication (2FA - Done) (/showthread.php?tid=839) |
2-Factor Authentication (2FA - Done) - Trioxin - 11-20-2017 check apache error log to see what the actual error is 2-Factor Authentication (2FA - Done) - Trioxin - 11-20-2017 sorry, /api/?action=verify2FA 2-Factor Authentication (2FA - Done) - Trioxin - 11-20-2017 Add this to your usersc/includes/custom_functions.php: https://hastebin.com/osizequxik.php Forgot about those. 2-Factor Authentication (2FA - Done) - Jamie - 11-20-2017 PHP Fatal error: Uncaught Error: Call to undefined function userHasPermission() is the error showing in PHP Log. 2-Factor Authentication (2FA - Done) - Trioxin - 11-20-2017 See the last post I just edited. 2-Factor Authentication (2FA - Done) - Jamie - 11-20-2017 Thanks for being consistent, seems to be more missing functions "Uncaught Error: Call to undefined function returnError()" which is being caused by requestCheck in custom_functions.php 2-Factor Authentication (2FA - Done) - Trioxin - 11-20-2017 Here you go: https://hastebin.com/ozeqepevox.php 2-Factor Authentication (2FA - Done) - Trioxin - 11-20-2017 Original post and instructions paste updated: https://hastebin.com/ucuzufavis.xml 2-Factor Authentication (2FA - Done) - Jamie - 11-20-2017 Awesome! That sorted that, but now I'm getting this http://prntscr.com/hd2mkd Thanks for your assistance on this, it's a great contribution which will be useful for many including myself. Sorry for any hassle 2-Factor Authentication (2FA - Done) - Trioxin - 11-20-2017 check the api output again /api/?action=verify2FA |