- Added a new function to validate authentication codes in the auth module.
- Updated the useTOTPModalWrapper to include a dismiss option for better modal management.
- Integrated the TOTP modal wrapper into the invitation confirmation dialog for improved user experience.
- Refactored the Invitations screen to utilize the updated TOTP modal handling.
These changes improve the security and usability of the invitation process by ensuring proper two-factor authentication handling.
Signed-off-by: Innei <tukon479@gmail.com>