07-16-2019, 07:24 AM
(07-16-2019, 03:16 AM)Alexandre Machado Wrote:Not Work!Quote:I use in my ServerController property Auther component TIWAutherEvent. Now not work!
I use OnCheck for check my windows username? Not come in this event function.
https://github.com/Atozed/IntraWeb/tree/...entication
On your ServerController.OnConfig() event, please write this:
procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
Self.Auther := IWAutherEvent1;
end;
Note: Replace IWAutherEvent1 with the name of the component you are using for authentication. It should work. We are investigating why it is not loading from DFM.
Otherwise, it opens a login window, but it reports an error in OnCheck!
Debug Output: TIWServerController.IWAutherEvent1Check ERROR EAccessViolation error raised, with message : Access violation at address 0151F424 in module 'QnGUI.exe'. Read of address 000000AC Process QnGUI.exe (7340)