Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #34 from thejoeejoee/fix/registration-date
Browse files Browse the repository at this point in the history
Fixed registration date of user
  • Loading branch information
thanhdolong authored Oct 18, 2020
2 parents 2d45e28 + 547a762 commit ab307dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Model/AuthenticatorFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function setNewUser($email, $password, $session)

$this->database->table("data_user")->insert([
"user_id" => $email,
"registered" => $date
"registered" => new DateTime()
]);

$this->database->table("role_assignment")->insert([
Expand Down

0 comments on commit ab307dc

Please sign in to comment.