Mayuresh-22 / Minglr

Social Network Site developed using HTML, CSS, JS and PHP as a Backend Language. This site supports the functionality of login/registration and sharing the posts/photos through their accounts, also it has the functionality of private messaging with the users.
https://links.mayuresh.me/minglr
MIT License
36 stars 43 forks source link

the Recommneded password Pattern is not showen #77

Closed Amine2000s closed 9 months ago

Amine2000s commented 9 months ago

whenever i try to register the first time ,it always pop up to me that your password is invalid without giving me any guidelines how the password should be

Capture d'écran 2024-01-06 003613

1-ankush-1 commented 9 months ago

Approches to solve this bug.

Mayuresh-22 commented 9 months ago

Regex issue #62 was solved by @GauriGA in PR #64

You can check the comment https://github.com/Mayuresh-22/Minglr/pull/64#issuecomment-1875708508 to know the valid password.

Mayuresh-22 commented 9 months ago

@1-ankush-1 do you want to work on this issue? Your approach is quite correct you'll need to add few checks bellow the password field in the registration form so that user can understand.

For example:

  1. Your password must be 8 characters long.
  2. At least one uppercase letter.
  3. ...
  4. ...

Refer: https://github.com/Mayuresh-22/Minglr/pull/64#issuecomment-1875708508

1-ankush-1 commented 9 months ago

@1-ankush-1 do you want to work on this issue? Your approach is quite correct you'll need to add few checks bellow the password field in the registration form so that user can understand.

For example:

  1. Your password must be 8 characters long.
  2. At least one uppercase letter.
  3. a wild card character
  4. a number should be there too

Refer: #64 (comment)

i got your requirements . you can assign this issue to me.

Mayuresh-22 commented 9 months ago

Okay then @1-ankush-1, you can start working on it. I'll assign this issue to you. Also, try to add a custom JavaScript which will help in checking the password requirements if the password entered by the user satisfies it. Example: 1. Your password must be 8 characters long. (Text colour turns green if password length is 8 characters, this happens as the user enters the password) And so on for other checks. Once all the required checks have been completed successfully, the user can proceed by clicking on the register button (Till then it will be disabled).

If you have any doubt feel free to contact me.

1-ankush-1 commented 9 months ago

Okay then @1-ankush-1, you can start working on it. I'll assign this issue to you. Also, try to add a custom JavaScript which will help in checking the password requirements if the password entered by the user satisfies it. Example: 1. Your password must be 8 characters long. (Text colour turns green if password length is 8 characters, this happens as the user enters the password) And so on for other checks. Once all the required checks have been completed successfully, the user can proceed by clicking on the register button (Till then it will be disabled).

If you have any doubt feel free to contact me.

thanks i will fix this issue.