#1 2016-06-27 16:17:16

igors233
Member
Registered: 2012-09-10
Posts: 233

TOnAuthentificationFailed declaration inconsistency

In TOnAuthentificationFailed UserName and Password are declared as string, but all other places (SetUser, TSQLAuthUser) uses RawUTF8, I believe TOnAuthentificationFailed should be changed to RawUTF8 as well.

Offline

#2 2016-06-27 16:25:16

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,182
Website

Re: TOnAuthentificationFailed declaration inconsistency

No, this is on purpose, AFAIR.
The TOnAuthenticationFailed callbacks are meant to be implemented on the client side, directly from the UI.
So it expects string parameters, to directly access the VCL components.

Offline

Board footer

Powered by FluxBB