Welcome to Geeklog Wednesday, June 20 2018 @ 06:42 pm EDT

Geeklog Forums

Change Password on First Logon


Status: offline

twistedfreak

Forum User
Junior
Registered: 08/05/02
Posts: 29
Is this idea possible and does anyone know how to do it? If the user logs on with the password that has been generated and sent to their email address on registry. Before allowing access, Geeklog asks that user to change that password to something they can remember. Any help with this would be great. thanx

Status: offline

dreamscape

Forum User
Junior
Registered: 22/01/02
Posts: 30
Yes, this is something that could be added onto the current version of geeklog but it's not something that is supported. I imagine there are at least two decent ways to do this (and there are probably a lot more, but this is what I can come up with right now): First: add a column to the users table that is a bit, for first login. When an account is requested/created, you set that bit to 0 or false, and when they log in, if that bit is 0 or false, you make them change their password (and you change the status of that bit). pros: relatively easy to add a column and check cons: altering a core geeklog table isn't a good idea Second: write a piece of custom code that uses it's own individual table (one column here of UID would do). As people request add to the table, as they login, check for their existance in that table, if they exist in that table, make them change their password and remove them from the table. pros: doesn't change the geeklog core tables cons: call to an additional table, not that much of a con though. hope that helps some......

All times are EDT. The time is now 06:42 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content