Kai Moritz [Tue, 16 Sep 2025 18:51:40 +0000 (20:51 +0200)]
fix: `auth.service` reacted inconsistently to `username` changes
* The subscription for `error` is not required, because the subscription for
`username` is also triggered, when the username is reset after an error.
* The `login` function must not manipulate the local variable `username`
at all.
* The separate logic in the app-components's init-hook, that redirects
to the login page, when the user is not yet known, is no longer
necessary, since the routing can also be triggered in the subscription
for `username`.
Kai Moritz [Sat, 30 Aug 2025 09:19:17 +0000 (11:19 +0200)]
adapted and refined the implementation of the component
- Adapted the implementation to the project structure.
- Adhered to best practices (`inject()` and `onNgInit()`).
- Moved the HTML code in a separate file.