Skip to content

Commit

Permalink
Don't force a DateFirstVisit on user model inserts. A lot of SSO scen…
Browse files Browse the repository at this point in the history
…arios want to set this value.
  • Loading branch information
tburry committed Aug 29, 2013
1 parent 9acd97f commit ba27177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/dashboard/models/class.usermodel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2260,7 +2260,7 @@ public function AddInsertFields(&$Fields) {
// Set some required dates.
$Now = Gdn_Format::ToDateTime();
$Fields[$this->DateInserted] = $Now;
$Fields['DateFirstVisit'] = $Now;
TouchValue('DateFirstVisit', $Fields, $Now);
$Fields['DateLastActive'] = $Now;
$Fields['InsertIPAddress'] = Gdn::Request()->IpAddress();
$Fields['LastIPAddress'] = Gdn::Request()->IpAddress();
Expand Down

0 comments on commit ba27177

Please sign in to comment.