You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gdn_Auth::AssociateUser() does weird things with its $Success variable:
when doing an insert, it just ignores the value returned.
when doing a replace, it uses the value returned by Replace(). Except as best as I can see, the Replace() function doesn't have a return value, meaning it always gets set to false...
In effect, $Success always returns true when $UserID > 0, and false otherwise... Which is most likely not the expected behaviour (took me a few hours figuring out why my auth plugin was failing).
The text was updated successfully, but these errors were encountered:
Gdn_Auth::AssociateUser() does weird things with its $Success variable:
when doing an insert, it just ignores the value returned.
when doing a replace, it uses the value returned by Replace(). Except as best as I can see, the Replace() function doesn't have a return value, meaning it always gets set to false...
In effect, $Success always returns true when $UserID > 0, and false otherwise... Which is most likely not the expected behaviour (took me a few hours figuring out why my auth plugin was failing).
The text was updated successfully, but these errors were encountered: