SaltedHashLoginGenerator - welcome processing query

I’ve just integrated the SaltedHashLoginGenerator into my code and now
trying to understand how it works :slight_smile:

Stuck on the ‘welcome’ action processing.

The welcome action is empty yet I note from the log that the database
is read/updated (see below) before the ‘welcome’ action is processed -
I’m trying to understand what triggers database processing?

Processing UserController#welcome (for at 2006-11-07
06:47:49) [GET]
Session ID: 5ef5e258b317f19510ac8124cabe8172
Parameters: {“user”=>{“id”=>“1”}, “action”=>“welcome”,
[4;36;1mUser Load (0.001114) [0m [0;1mSELECT * FROM users WHERE
(id = ‘1’ AND security_token =
‘62e047e834e688ebb215d1c5cc2bd1fca9fde33b’) LIMIT 1 [0m
[4;35;1mUser Columns (0.002074) [0m [0mSHOW FIELDS FROM users [0m
[4;36;1mUser Update (0.000590) [0m [0;1mUPDATE users SET
deleted = 0, login = ‘leelon’, lastname = ‘’, delete_after =
NULL, role = NULL, salt =
‘84d0b7c0b5b53b734118d25b80d4a7e75908ab28’, salted_password =
‘92a5057e37efc0a05848866c491e81a99d678d43’, verified = 1,
security_token = ‘62e047e834e688ebb215d1c5cc2bd1fca9fde33b’,
token_expiry = ‘2006-11-08 06:47:22’, email = ‘leelon’, firstname
= ‘’ WHERE id = 1 [0m

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs