Welcome Guest, Not a member yet? Register   Sign In
Community Auth : Prompt Password Reset on First Login
#1

[eluser]Prashanth[/eluser]
Hello,

After a bit of hard work, am successful in getting the Community Auth to work for me. Looks great!!

Couple of my personal requirements:

1. Is there some way already available to prompt newly created users to change their password on first login?
2. Is it possible to add more fields to profile tables of different level users?

Thanks in advance!
#2

[eluser]TheFuzzy0ne[/eluser]
I'm not sure about either. I thought I'd take a quick look at the code and see if I could find out, almost 20 minutes later, I still have no idea... Sorry.

I'm pretty sure that you could code both of your requirements yourself, but...

1) I don't know why you'd want to do this, since the user chooses a password when they sign up. If that's now how you want it to work, then I suspect the first thing you'll do, is send an email to the user's email account asking them to confirm their email address. When they click the link, that's the ideal time to prompt them for a password.

2) I would suggest you create another table which you can join onto the profiles table. However, if you're wanting to dynamically add fields on-the-fly, then you'd be better off with a table structure that add's rows instead of columns.
#3

[eluser]Prashanth[/eluser]
Thanks for your time, TheFuzzyOne.

1. Want to do this because, registrations are closed & admin will create all the users with a common password. Most of the users wont even check mails, it is a compulsion to use this online system otherwise they wont have headed online.

2. Right, think I can try adding another table & use join.

Agree on your point that I can code it myself but the deadline to complete the project is short & am exhausted to sit and code; if feature already exists - makes life easier for me.

Thanks again Smile
#4

[eluser]TheFuzzy0ne[/eluser]
I'm not saying the feature doesn't exist, but I know that if it does, I can't find it.

I figured that if there was some way of inviting a user, there should be a string in the code somewhere that mentions "invite" or "invitation". So I searched for the string "invit" in the application directory, and nothing turned up.

It might be worth contacting the author and asking them to be sure.




Theme © iAndrew 2016 - Forum software by © MyBB