diff --git a/src/AliasVault.Client/Auth/Pages/Base/LoginBase.cs b/src/AliasVault.Client/Auth/Pages/Base/LoginBase.cs
index 6a8bc106d..707f5e7ac 100644
--- a/src/AliasVault.Client/Auth/Pages/Base/LoginBase.cs
+++ b/src/AliasVault.Client/Auth/Pages/Base/LoginBase.cs
@@ -25,49 +25,49 @@ public class LoginBase : OwningComponentBase
/// Gets or sets the NavigationManager.
///
[Inject]
- public NavigationManager NavigationManager { get; set; } = null!;
+ public required NavigationManager NavigationManager { get; set; }
///
/// Gets or sets the HttpClient.
///
[Inject]
- public HttpClient Http { get; set; } = null!;
+ public required HttpClient Http { get; set; }
///
/// Gets or sets the AuthenticationStateProvider.
///
[Inject]
- public AuthenticationStateProvider AuthStateProvider { get; set; } = null!;
+ public required AuthenticationStateProvider AuthStateProvider { get; set; }
///
/// Gets or sets the GlobalNotificationService.
///
[Inject]
- public GlobalNotificationService GlobalNotificationService { get; set; } = null!;
+ public required GlobalNotificationService GlobalNotificationService { get; set; }
///
/// Gets or sets the IJSRuntime.
///
[Inject]
- public IJSRuntime Js { get; set; } = null!;
+ public required IJSRuntime Js { get; set; }
///
/// Gets or sets the DbService.
///
[Inject]
- public DbService DbService { get; set; } = null!;
+ public required DbService DbService { get; set; }
///
/// Gets or sets the AuthService.
///
[Inject]
- public AuthService AuthService { get; set; } = null!;
+ public required AuthService AuthService { get; set; }
///
/// Gets or sets the LocalStorage.
///
[Inject]
- public ILocalStorageService LocalStorage { get; set; } = null!;
+ public required ILocalStorageService LocalStorage { get; set; }
///
/// Parses the response content and displays the server validation errors.