Menu

#8 Option for saving password

open
nobody
Development (5)
5
2007-08-27
2007-08-27
Anonymous
No

Addition of "SavePassword" property to published.
Link to FSavePassword:boolean.

If SavePassword is true, saves password (from login) to Params held in FDBParams.

If SavePassword is false, behaves exactly as at present.

Code:

if SavePassword then
begin
p := FDBParams.IndexOfName('password');
if p > -1 then FDBParams[p] := 'password=' + FHiddenPassword
else FDBParams.Add('password=' + FHiddenPassword);
end;

Submitted by Neville Richards (neville@meltonisl.com)

Discussion

  • Neville Richards

    Logged In: YES
    user_id=1376591
    Originator: NO

    Forgot to mention that the code snatch supplied is intended to be inserted at an obvious point in the procedure dologin.

     
  • Neville Richards

    Logged In: YES
    user_id=1376591
    Originator: NO

    This suggestion hasn't had any response.

    Is this board live?

    Neville Richards

     

Log in to post a comment.