The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
2 Factor Auth - 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 Auth (/showthread.php?tid=434)



2 Factor Auth - Brandin - 01-23-2017

Has anyone ever thought about implementing 2 Factor Auth into their UserSpice? Have you done it?

I did some reading at this article:
http://www.phpbuilder.com/articles/site-operation/implementing-two-factor-authentication-in-php.html

I'm wondering the best plan of attack to implement this.


2 Factor Auth - mudmin - 01-26-2017

My thought is that you already have a vericode being generated and stored in the db. Seems like you could text that and compare it and regenerate a new one after every login.