chiraag-kakar / sharenlearn

A Common File/Resource Sharing Platform for Students & Faculties built using HTML, CSS, Javascript, & Django.
https://sharenlearn.herokuapp.com/
MIT License
45 stars 78 forks source link

Creating Password validation in Signup form #113

Closed akashthedeveloper closed 3 years ago

akashthedeveloper commented 3 years ago

A password validation can be added such as min and max characters allowed for password and condition of uppercase and lowercase letters and one special characters for generating strong passwords.

RahulPalve commented 3 years ago

hey @harshita2216 can u label my pr with gssoc21

harshita2216 commented 3 years ago

@RahulPalve Your PR will not be considered as it is already assigned to someone.

RahulPalve commented 3 years ago

So, if someone raise the issue it will be assigned to that person by default? 🙄. Never heard of this workflow in foss community before

harshita2216 commented 3 years ago

@RahulPalve No, but you need to comment on the issue first and get assigned before making a PR. Your comment decides whether or not you will be picked for working on the issue. Ideally, we want you to comment on how you are going to solve the issue. These are some rules given by GSSoC and they expect both mentors and participants to follow.

ANAMIKA1410 commented 3 years ago

import re password = "R@m@f0rtu9e$" flag = 0 while True:
if (len(password)<8): flag = -1 break elif not re.search("[a-z]", password): flag = -1 break elif not re.search("[A-Z]", password): flag = -1 break elif not re.search("[0-9]", password): flag = -1 break elif not re.search("[
@$]", password): flag = -1 break elif re.search("\s", password): flag = -1 break else: flag = 0 print("Valid Password") break

if flag ==-1: print("Not a Valid Password")

harshita2216 commented 3 years ago

@435akashjha I am unassigning you from this issue as we've not heard from you in 7 days.

akashthedeveloper commented 3 years ago

Please give me a day I will solve it.

harshita2216 commented 3 years ago

Please give me a day I will solve it.

Okay, make a PR by tomorrow.

Abhishekkr93 commented 3 years ago

I would like to contribute as a Gssoc21 participant. could you please assign me this? I will create this.

RahulPalve commented 3 years ago

PR ready to be merged : https://github.com/chiraag-kakar/sharenlearn/pull/117