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
/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
MD5 password Login
#2
I would definitely not modify the userpice "core" code (i.e. the stuff in the users folder). There are better ways to do this.

There are a few ways to attempt it...

1. (Easiest) use the regular login form and put up a message telling people that if their password doesn't work, they should use the "forgot password" link and it will give them a bcrypt password.

2. Write a custom version of login.php (putting it in the usersc folder) that checks their md5 password and then immediately changes their password over to bcrypt.

3. We could work on some sort of "force password reset" feature also.

Let me know what you're thinking and I'll help you figure it out. Either way, you don't want to leave them as md5.
  Reply


Messages In This Thread
MD5 password Login - by Jamie - 04-17-2017, 03:04 AM
MD5 password Login - by mudmin - 04-17-2017, 03:27 AM
MD5 password Login - by Jamie - 04-17-2017, 07:23 AM
MD5 password Login - by mudmin - 04-17-2017, 12:39 PM
MD5 password Login - by Jamie - 04-17-2017, 12:50 PM
MD5 password Login - by mudmin - 04-17-2017, 12:55 PM
MD5 password Login - by Jamie - 04-17-2017, 01:15 PM
MD5 password Login - by mudmin - 04-17-2017, 02:12 PM
MD5 password Login - by Jamie - 04-17-2017, 02:17 PM
MD5 password Login - by mudmin - 04-17-2017, 02:23 PM
MD5 password Login - by mudmin - 04-17-2017, 02:26 PM
MD5 password Login - by mudmin - 04-17-2017, 02:27 PM
MD5 password Login - by Jamie - 04-17-2017, 02:38 PM
MD5 password Login - by Jamie - 04-17-2017, 04:35 PM
MD5 password Login - by dan - 04-17-2017, 05:32 PM
MD5 password Login - by Jamie - 04-17-2017, 05:36 PM
MD5 password Login - by mudmin - 04-17-2017, 06:19 PM
MD5 password Login - by Brandin - 04-17-2017, 09:24 PM
MD5 password Login - by Jamie - 04-18-2017, 08:51 PM
MD5 password Login - by mudmin - 04-18-2017, 10:11 PM
MD5 password Login - by Jamie - 04-20-2017, 03:05 PM
MD5 password Login - by mudmin - 04-20-2017, 11:56 PM
MD5 password Login - by Jamie - 04-21-2017, 12:09 AM
MD5 password Login - by Jamie - 04-21-2017, 12:22 AM
MD5 password Login - by mudmin - 04-21-2017, 12:24 AM
MD5 password Login - by Jamie - 04-21-2017, 12:27 AM
MD5 password Login - by mudmin - 04-21-2017, 12:28 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)