sUSPEND CHECKS
This commit is contained in:
@@ -108,7 +108,11 @@ INSERT INTO merms_products (name,description,status,product_id, banner) VALUES (
|
|||||||
INSERT INTO merms_products (name,description,status,product_id, banner) VALUES ('Professional Blog','Booster your practice with engaging contents',1,'A000004', 'banner.jpg');
|
INSERT INTO merms_products (name,description,status,product_id, banner) VALUES ('Professional Blog','Booster your practice with engaging contents',1,'A000004', 'banner.jpg');
|
||||||
INSERT INTO merms_products (name,description,status,product_id, banner) VALUES ('Practice EMR','Get Open EMR for practice management',1,'A000005', 'banner.jpg');
|
INSERT INTO merms_products (name,description,status,product_id, banner) VALUES ('Practice EMR','Get Open EMR for practice management',1,'A000005', 'banner.jpg');
|
||||||
|
|
||||||
|
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Personal Website','Your personal professional web presence',1,'A000001', 'banner.jpg');
|
||||||
|
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Professional Website','Your healthcare practice online presence ',1,'A000002', 'banner.jpg');
|
||||||
|
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Personal Blog','Blog to share your health care view',1,'A000003', 'banner.jpg');
|
||||||
|
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Professional Blog','Booster your practice with engaging contents',1,'A000004', 'banner.jpg');
|
||||||
|
INSERT INTO products (name,description,status,product_id, banner) VALUES ('Practice EMR','Get Open EMR for practice management',1,'A000005', 'banner.jpg');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ def validate_password(password: str):
|
|||||||
# print(password)
|
# print(password)
|
||||||
#reg = r"\b^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!#%*?&]{8,20}$\b"
|
#reg = r"\b^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!#%*?&]{8,20}$\b"
|
||||||
reg = r"\b^[A-Za-z0-9@#$%^&+=]{8,}\b"
|
reg = r"\b^[A-Za-z0-9@#$%^&+=]{8,}\b"
|
||||||
return validate(password, reg)
|
# return validate(password, reg)
|
||||||
|
return True
|
||||||
|
|
||||||
def validate_username(username: str):
|
def validate_username(username: str):
|
||||||
if not 6 <= len(username.split(' ')) <= 20:
|
if not 6 <= len(username.split(' ')) <= 20:
|
||||||
|
|||||||
Reference in New Issue
Block a user