feat: rename login to foodsharing manager
Use the application name consistently in the login view and its test.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
fix: refresh invalid last pickup timestamps
|
||||
feat: rename login to foodsharing manager
|
||||
|
||||
Force an immediate member refresh for legacy epoch timestamps so they are
|
||||
replaced by the correct no-pickup status without waiting for the weekly check.
|
||||
Use the application name consistently in the login view and its test.
|
||||
|
||||
@@ -3,6 +3,6 @@ import App from './App';
|
||||
|
||||
test('zeigt das Login-Formular an, wenn keine Session aktiv ist', () => {
|
||||
render(<App />);
|
||||
expect(screen.getByText(/Pickup Config Login/i)).toBeInTheDocument();
|
||||
expect(screen.getByText(/Foodsharing Manager Login/i)).toBeInTheDocument();
|
||||
expect(screen.getByLabelText(/E-Mail/i)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
@@ -16,7 +16,7 @@ const LoginView = ({ credentials, onCredentialsChange, error, loading, initializ
|
||||
}}
|
||||
>
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold mb-2 text-center text-gray-800">Pickup Config Login</h1>
|
||||
<h1 className="text-2xl font-bold mb-2 text-center text-gray-800">Foodsharing Manager Login</h1>
|
||||
<p className="text-sm text-gray-500 text-center">
|
||||
Die Anwendung authentifiziert sich direkt bei foodsharing.de. Bitte verwende deine persönlichen Login-Daten.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user