kwakseungmin23 / hh_prac_node_express

1 stars 0 forks source link

Making SIGN IN #6

Open kwakseungmin23 opened 1 year ago

kwakseungmin23 commented 1 year ago
kwakseungmin23 commented 1 year ago

MIDDLE WARE AUTHORIZATION DONE

kwakseungmin23 commented 1 year ago

found mongoose minlength to handle length of the value !

kwakseungmin23 commented 1 year ago

match to handle nickname composed of a-z, A-Z, 0-9

kwakseungmin23 commented 1 year ago

Use regex to do not include nickname values to the password. /[A - z, 0 - 9]/ Logic -> split & itinerate each element of nickname, password array.