11 Commits

Author SHA1 Message Date
newtbot
c234aa3616 Add nodemailer configuration and console.log statement
Update formAJAX function to log data from the server
Add getUserByEmail and checkEmail functions
Update profile.ejs to require login
Update addSensorData function to emit new sensor data
Update api.css with styling changes
Update token route to generate and send token email
Update authChecker middleware to allow user and token routes
2024-01-27 04:52:02 +08:00
newtbot
057fbe2afb iotsensor fixed but session valid broken 2024-01-25 03:26:56 +08:00
newtbot
e710fa15a1 overhaul 2024-01-24 14:21:13 +08:00
newtbot
877eaeae43 update
1) added html regex
2) added welcome user
3) change forgotpassword and resetpassword to ejs
2024-01-21 21:06:10 +08:00
newtbot
d2ad32e6d6 added api page
added login
added api.ejs
added middleware for authorization check
2024-01-21 03:58:03 +08:00
newtbot
32be41ea46 login WIP 2024-01-20 04:13:20 +08:00
newtbot
e63bcf1734 register blah 2024-01-19 16:04:50 +08:00
newtbot
908a8bd351 ejs templating 2024-01-19 03:21:15 +08:00
newtbot
4e4e8bfee2 a 2024-01-18 03:15:31 +08:00
newtbot
7e4b2d8026 WIP token 2024-01-16 04:43:39 +08:00
newtbot
935709c2eb tidy up 2024-01-14 23:31:00 +08:00