btcpayserver/BTCPayServer/Views/UIAccount
d11n e43b4ed540
Onboarding: Invite new users (#5714)
* Server Users: More precise message when inviting users

This lets the admin who invited a new user know whether or not an email has been sent. If the SMTP server hasn't been set up, they need to share the invite link with the user.

* Onboarding: Invite new users

- Separates the user self-registration and invite cases
- Adds invitation email for users created by the admin
- Adds invitation tokens to verify user was invited
- Adds handler action for invite links
- Refactors `UserEventHostedService`

* Remove duplicate status message from views that use the wizard layout

* Auto-approve users created by an admin

* Notify admins via email if a new account requires approval

* Update wording

* Fix update user error

* Fix redirect to email confirmation in invite action

* Fix precondition checks after signup

* Improve admin notification

Send notification only if the user does not require email confirmation or when they confirmed their email address. Rationale: We want to inform admins only about qualified users and not annoy them with bot registrations.

* Allow approval alongside resending confirm email

* Use user email in log messages instead of ID

* Prevent unnecessary notification after email confirmation

* Use ApplicationUser type explicitly

* Fix after rebase

* Refactoring: Do not subclass UserRegisteredEvent
2024-02-28 20:43:18 +09:00
..
_ViewImports.cshtml Move TagHelpers to Abstractions (#3975) 2022-07-22 21:58:25 +09:00
CheatPermissions.cshtml Adapt cookie auth to work with same API permission system (#4595) 2023-03-20 10:46:46 +09:00
ForgotPassword.cshtml Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
ForgotPasswordConfirmation.cshtml Refactor signed out action views (login, register, etc.) (#3333) 2022-01-21 11:10:03 +09:00
Lockout.cshtml Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
Login.cshtml Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
LoginWith2fa.cshtml UI: Form validation summary matches alert style (#5576) 2023-12-21 23:43:12 +09:00
LoginWithFido2.cshtml Unify 2FA login boxes (#4506) 2023-01-09 16:38:03 +01:00
LoginWithLNURLAuth.cshtml Unify 2FA login boxes (#4506) 2023-01-09 16:38:03 +01:00
LoginWithRecoveryCode.cshtml Use simple layout for 2FA views 2022-03-03 13:43:22 +01:00
Register.cshtml Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
SecondaryLogin.cshtml Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
SetPassword.cshtml Onboarding: Invite new users (#5714) 2024-02-28 20:43:18 +09:00
SignedOut.cshtml Rename UI controllers 2022-01-14 13:46:03 +09:00