The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 factor authentication
#4
Yes, it was several years ago, but not with GS directly, a custom approach with ItemManager:
https://ehret-studio.com/articles/itemmanager/creating-user-management/
If it necessarily has to be a GS admin access, you can use this method and generate a session cookie for GS access manually on successful registration/login.
Also, there I used an access key, but no timestamp for its expiration time. This is not a problem, you can use a user object's modification date for this purpose.

Here's a demonstration:
https://demos.ehret-studio.com/user-admin/user/
Note, I used mail() in my example, but you should go with SMTP.

GitHub repo:
https://github.com/bigin/IM-UserManager/tree/master
Reply


Messages In This Thread
2 factor authentication - by acenda - 2021-11-02, 01:33:17
RE: 2 factor authentication - by Felix - 2021-11-02, 09:19:03
RE: 2 factor authentication - by acenda - 2021-11-03, 05:51:12
RE: 2 factor authentication - by Bigin - 2021-11-03, 13:53:29
RE: 2 factor authentication - by acenda - 2021-11-04, 17:55:08
RE: 2 factor authentication - by Felix - 2021-11-10, 19:01:55
RE: 2 factor authentication - by Bigin - 2021-11-11, 02:13:47
RE: 2 factor authentication - by Felix - 2021-11-11, 04:29:04
RE: 2 factor authentication - by Bigin - 2021-11-11, 06:42:50
RE: 2 factor authentication - by Felix - 2021-11-11, 04:40:11
RE: 2 factor authentication - by Felix - 2021-11-11, 07:18:22



Users browsing this thread: 1 Guest(s)