Fix login method to avoid null pointer exceptions

This update adds null checks before accessing user credentials during the login process. It ensures the application does not crash when trying to authenticate with incomplete data.
This commit is contained in:
Winni Neessen 2024-09-01 16:47:26 +02:00
parent d558f5dffb
commit d6b359f1f5
Signed by: wneessen
GPG key ID: 385AC9889632126E

6
.gitignore vendored
View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Winni Neessen <wn@neessen.dev>
#
# SPDX-License-Identifier: CC0-1.0
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
@ -23,4 +27,4 @@ go.work.sum
# env file
.env
.idea/
.idea/