Closed xHergz closed 5 years ago
Create the tables to hold the information about a user obtained on a sign up and the session information from a log in.
CALL CreateUser('test@email.com', 'aaaa', 'DisplayName', 'First', 'Last');
CALL CreateSession(<Id returned from creating user>, '192.168.0.1');
CALL UpdateUser('<Session key from creating session>', <Id returned from creating user>, NULL, NULL, 'NewDisplayName', NULL, NULL);
CALL DeactivateUser('<Session key from creating session>', <Id returned from creating user>);
CALL DeactivateSession('<Session key from creating session>');
Added a System_Configuration table to hold some different config values. In this case there will need to be a value of how long to set the default session expiry.
Description:
Create the tables to hold the information about a user obtained on a sign up and the session information from a log in.
Tasks:
Tests:
CALL CreateUser('test@email.com', 'aaaa', 'DisplayName', 'First', 'Last');
CALL CreateSession(<Id returned from creating user>, '192.168.0.1');
CALL UpdateUser('<Session key from creating session>', <Id returned from creating user>, NULL, NULL, 'NewDisplayName', NULL, NULL);
CALL UpdateUser('<Session key from creating session>', <Id returned from creating user>, NULL, NULL, 'NewDisplayName', NULL, NULL);
CALL DeactivateUser('<Session key from creating session>', <Id returned from creating user>);
CALL DeactivateSession('<Session key from creating session>');