Commit 7abc255
Vadim Belov
Fix possible null exception in login by using GetValueOrDefault
Replaced userId.Value with userId.GetValueOrDefault() in OnUserLoggingInAsync call to prevent potential exceptions when userId is null. This change improves code safety without altering existing logic.1 parent 5411ce9 commit 7abc255
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments