Commit graph

52 commits

Author SHA1 Message Date
77372b2a2c Add API authentication 2021-11-21 08:16:15 +07:00
68f3a8dc95 Fix verify mail 2021-11-21 07:26:36 +07:00
e40fa58635 Update some pages with login state 2021-11-21 07:18:04 +07:00
c8b9d4d663 Remove unused codes & files 2021-11-21 00:24:24 +07:00
6251196957 Add login implementation 2021-11-20 14:13:06 +07:00
61d722778f Remove unused files 2021-11-20 14:03:45 +07:00
ddf812c1d6 Update checkout 2021-11-20 09:10:19 +07:00
8ff4f43f0b Add checkout API 2021-11-20 09:09:06 +07:00
Matthew Patrick
be87ac2992 Changed text so user cant exploit the login to check which email is registered by trying random emails 2021-11-18 13:31:08 +07:00
Matthew Patrick
796ca77d17 Fixed spelling in index.js 2021-11-18 13:29:27 +07:00
Matthew Patrick
78614e8f0e Fixed spelling on api.js 2021-11-18 13:24:32 +07:00
Matthew Patrick
ca8d06317d Added error on login form if email is unregistered 2021-11-18 11:59:27 +07:00
Matthew Patrick
dc1829cffd Added /login error handling for unregistered users 2021-11-18 11:58:37 +07:00
be99488256 Fix typo 2021-11-18 10:36:57 +07:00
f4bfe8d043 Remove unused code 2021-11-17 22:36:40 +07:00
d8c8d88df9 Fix register bug 2021-11-17 15:54:55 +07:00
02773d78a5 Remove unused file 2021-11-17 15:53:05 +07:00
7b808c5ea5 Update verify mail 2021-11-17 15:52:36 +07:00
e1c0a2dea4 Add verify mail API 2021-11-17 15:51:52 +07:00
fdf319eac9 Update mail module 2021-11-17 15:32:44 +07:00
430eea9777 Remove unused statement 2021-11-17 15:25:21 +07:00
1dadd2caf0 Update login 2021-11-17 15:22:25 +07:00
0810e95952 Add login API 2021-11-17 15:22:12 +07:00
D Shrat
9315530e0f modif payment page 2021-11-17 14:41:36 +07:00
Kelvin Samuel
d1e047a3e7 add warning eror 2021-11-16 22:07:23 +07:00
e07c27d476 Merge branch 'main' of https://gitlab.com/nekoya/web 2021-11-16 15:48:43 +07:00
a54af3787c Fix typo 2021-11-16 15:48:39 +07:00
Kelvin Samuel
783222cf0a edit login page 2021-11-16 13:55:07 +07:00
88ba3a5d33 Tidy up 2021-11-16 13:28:38 +07:00
5ffa27bf69 Merge branch 'main' of https://gitlab.com/nekoya/web 2021-11-16 13:19:42 +07:00
e80a4ee9b4 Update register 2021-11-16 13:19:35 +07:00
b84dae8700 Add register API 2021-11-16 13:18:59 +07:00
Matthew Patrick
e73910b8a0 Fixed Login error in RegisterLogin.js 2021-11-16 12:51:52 +07:00
Kelvin Samuel
881258f23f Add change-password page and login-error page 2021-11-16 12:35:11 +07:00
94a4e97c95 Update routes 2021-11-16 06:44:33 +07:00
Matthew Patrick
db47de1cf5 Fixed registerlogin.js database connection 2021-11-15 18:07:16 +07:00
a0e0e6a667 Update api with current structure 2021-11-15 17:56:01 +07:00
Matthew Patrick
b4885f9993 Adapted registerlogin.js db require location 2021-11-15 17:25:24 +07:00
d237aad3d6 Merge branch 'main' of https://gitlab.com/nekoya/web 2021-11-15 17:02:10 +07:00
32ff0299ba [WIP] API Support 2021-11-15 16:59:21 +07:00
f0ea916c1b Register products page to route 2021-11-15 16:55:33 +07:00
Matthew Patrick
4df4ce0494 Fixed a bug with the register logic 2021-11-15 16:01:24 +07:00
Matthew Patrick
067130215d Minor edit on registerlogin.js 2021-11-15 15:47:23 +07:00
Matthew Patrick
363be4a828 Added backend stuff to handle register and login to DB with support for encryption. Also added Email verification support when registering for the first time 2021-11-15 15:35:39 +07:00
Matthew Patrick
9381551dd7 Added routing for Register, Login, and Verify-email backend stuff 2021-11-15 15:23:48 +07:00
Matthew Patrick
c4e0e11aa6 Removed register-verification-* pages from being accessible directly 2021-11-15 15:22:09 +07:00
Matthew Patrick
ecc31aae11 Added Router for About us, Register, Register-verification-* 2021-11-09 09:53:46 +07:00
2d4b7f0444 Merge branch main with current 2021-11-09 09:20:03 +07:00
317ea333da Add prefix _ to unused declared variable 2021-11-09 09:13:22 +07:00
46cf1e0617 adjust router with new filename 2021-11-09 09:12:36 +07:00