mirror of
https://github.com/wneessen/niljson.git
synced 2024-12-23 02:40:38 +01:00
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:
parent
d558f5dffb
commit
d6b359f1f5
1 changed files with 5 additions and 1 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue