Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9273489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:07:48+00:00 2026-06-18T16:07:48+00:00

I am trying to register users only with email id. So when ever I

  • 0

I am trying to register users only with email id. So when ever I enter email id and click on register then password should generate automatically and email should send to the particular email address. When he first time logins with that email id and password then we need to show the change password and security question and answer option. There is an option for auto generate password in create user wizard. For this i followed this link. But I am unable to solve the issue to show the first time login user to reset his password and set the security question and answer. Can any one give me the solution!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:07:49+00:00Added an answer on June 18, 2026 at 4:07 pm

    You have to keep track of that in your database. You can have bit type field in the database for example IsFirstTimeLogin and set it true for the first usage and after successful login set it to false. You can also setup a field to specify if the user required to change password. If that field is set to true then you can ask the user to change the password. You can use the required password change field for period changes to the password in future as well.

    As far as auto generating the password in concerned you can use the email id as the first password, but if you want some more secure option then you can issue any randomly generated password to the user, or you can use GetHashCode for password generations. Something like:

    string email = "test@test.com";
    string password = Math.Abs(email.GetHashCode()).ToString();
    

    You can only try to make your password as much random as possible, You can look at this question for generating random strings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to automatically register users. You enter an email address and it
I'm trying to allow users to register on my web application via Facebook. As
I'm trying to write a script for users to register to a club, and
I'm trying to allow users to register with the site I am creating, however
I'm trying to use facebook connect in my site so users can register/login with
I'm trying to create a very simple login for only one or two users,
I'm trying to register a user, with the following query: INSERT INTO Users (Username,
Hello I'm a newbie trying to use django to register some users, I have
I am trying to find out how to allow only .ac.uk emails register to
I'm trying to build a registration module where user can only register if their

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.