Bug Report: UAutoLoginUserCallbackProxy::OnCompleted
I believe I found a bug in the UAutoLoginUserCallbackProxy::OnCompleted
function in the Advanced Sessions plugin.
Issue:
- When
bWasSuccessful
istrue
, the function callsOnSuccess
, but then continues to execute and callsOnFailure
at the end of the function. - When
bWasSuccessful
isfalse
,OnFailure
appears to be called twice.
Expected Behavior: Only one callback should be triggered based on the success/failure status.
Suggested Fix: Add return
statements after each callback to prevent the function from continuing execution: