Commit Graph

82 Commits

Author SHA1 Message Date
Alex Holliday
a600ac30af Removed unused token code 2024-08-28 10:07:47 -07:00
Alex Holliday
ac37211e32 refactor invite to its own route and controller 2024-08-26 17:43:56 -07:00
Alex Holliday
20b2b089a4 Removed awaits for emails, added redirect if invite verify fails 2024-08-26 15:21:06 -07:00
Alex Holliday
c39eab49bd Add teams to a user when they are created 2024-08-26 13:29:11 -07:00
Alex Holliday
ef02bd8078 Check for superadmin as opposed to admin 2024-08-26 09:46:23 -07:00
Alex Holliday
4e430547ab Add error handling and logging to email service 2024-08-21 11:41:47 -07:00
Alex Holliday
85a82bb8c7 removed log statement 2024-08-18 22:07:36 -07:00
Alex Holliday
6d99002fd1 Finish refactoring auth slice, fixed several bugs 2024-08-17 20:23:34 -07:00
Alex Holliday
ae46527965 removed double login prevention 2024-08-15 11:39:45 -07:00
Alex Holliday
6cbca39e0f Refactored endpoint 2024-08-12 10:00:20 -07:00
Alex Holliday
0cc7751d2e Decoupled JWT from DB 2024-08-10 10:20:06 -07:00
Alex Holliday
9f4d23b1b4 Add logout route and controller, remove JWT from user on logout 2024-08-09 13:33:13 -07:00
Alex Holliday
9fe75c92dd Add check for JWT on login 2024-08-09 13:19:05 -07:00
Alex Holliday
5b2a05bc79 Save JWT to user on login 2024-08-09 13:14:20 -07:00
Alex Holliday
8fc069795c Merge remote-tracking branch 'upstream/fix/delete-user' into fix/delete-user 2024-08-02 11:39:11 -07:00
Alex Holliday
6c92dbe358 Delete pagespeed checks when user deleted 2024-08-02 11:38:38 -07:00
Alexander Holliday
a04ecad11f Update authController.js 2024-08-02 11:25:35 -07:00
Alex Holliday
a432aee3de Added empty query to request object 2024-08-02 11:24:15 -07:00
Alex Holliday
7d3bc7ee8a Delete notifcations when a user is deleted 2024-07-31 12:55:19 -07:00
Alex Holliday
5a1aaf5132 AuthController error handling, cleanup 2024-07-30 13:54:30 -07:00
Alex Holliday
608153b461 Commented out admin check, unsure as to whether or not more than one admin can exist 2024-07-23 14:30:27 -07:00
Alex Holliday
c77414f2d7 Added check to verify and fetch token from server 2024-07-23 12:27:23 -07:00
Alex Holliday
8e6cd0de71 Added verifyAdmin middleware. Implemented getAllUsers route 2024-07-22 11:49:22 -07:00
Alex Holliday
610d9228da Issue invite token and send invitation email on invite request 2024-07-21 20:35:23 -07:00
Alexander Holliday
2c5dc85f81 Merge pull request #396 from bluewave-labs/feat/emails
Removed sendgrid, use emailService for all emails.  Updated env vars,…
2024-07-19 16:39:43 -07:00
Alex Holliday
12e23cb156 Removed sendgrid, use emailService for all emails. Updated env vars, updated scripts 2024-07-19 15:41:06 -07:00
Alex Holliday
428e018aff Add invite endpoint, add validation to invit endpoint 2024-07-19 13:05:38 -07:00
Alex Holliday
4e56db368f Add invite route 2024-07-19 11:11:59 -07:00
Daniel Cojocea
cfc4590170 Added fix 2024-07-16 18:50:44 -04:00
Alex Holliday
f169809692 Fixed token issue 2024-07-16 14:40:37 -07:00
Alex Holliday
61d65f700e Add user to response 2024-07-16 14:23:42 -07:00
Alex Holliday
ce200eeb20 Reset password returns a token 2024-07-16 14:06:51 -07:00
Alex Holliday
b0cbea156c Add check for admin acount 2024-07-12 10:57:39 -07:00
Alex Holliday
5a6cbcd325 Implemented update password functionality 2024-07-10 11:51:27 -07:00
Alex Holliday
48ca591006 Added delete image profile functionality to update user 2024-07-09 10:23:22 -07:00
Alex Holliday
43bac259d7 Generate avatar image on register or update if an image is included 2024-07-08 10:26:56 -07:00
Alexander Holliday
ad26d1ba19 Update authController.js
Removed log statement
2024-07-06 22:19:02 -07:00
MuhammadKhalilzadeh
e7fb6a9e60 small changes 2024-07-06 09:03:09 +03:30
MuhammadKhalilzadeh
30a0cdd11c replace decode with verify 2024-07-06 08:48:58 +03:30
MuhammadKhalilzadeh
4f8031a944 Leveraging JWT for Authenticated Access 2024-07-05 10:19:58 +03:30
MuhammadKhalilzadeh
17337d69b5 small error handling 2024-07-04 11:52:46 +03:30
Mohammad Khalilzadeh
a2e378f1dd Merge branch 'bluewave-labs:master' into backend-completion 2024-07-04 11:18:30 +03:30
Alex Holliday
f97aa1ca8c Return user and Token instead of decoding token. Added transform to not store image in redux store 2024-07-03 12:20:30 -07:00
MuhammadKhalilzadeh
b239aae4ed Merge branch 'backend-completion' of https://github.com/MuhammadKhalilzadeh/bluewave-uptime into backend-completion 2024-07-03 11:10:10 +03:30
Alex Holliday
ec63281202 Return admin account status on check 2024-07-02 10:45:38 -07:00
Alex Holliday
d7d6effdda Add route and controller 2024-07-02 10:38:02 -07:00
MuhammadKhalilzadeh
af0ec810c9 delete functionality working 2024-07-02 12:16:33 +03:30
MuhammadKhalilzadeh
81cd302acc modifications 2024-06-29 11:58:27 +03:30
MuhammadKhalilzadeh
704980045d fixes 2024-06-28 21:02:49 +03:30
MuhammadKhalilzadeh
e11ae4d460 complementary deletions on user delete 2024-06-28 20:13:07 +03:30