Commit 2cfbbdc3 authored by Robert Czechowski's avatar Robert Czechowski Committed by Robert Czechowski
Browse files

Set account creation date of all new accounts to the curent time when their objects are created

parent 64091722
...@@ -199,7 +199,7 @@ impl SessionUser { ...@@ -199,7 +199,7 @@ impl SessionUser {
csrf_token, csrf_token,
last_login: None, last_login: None,
last_activity: None, last_activity: None,
account_created: None, account_created: Some(time::get_time()),
// müssen die überhaupt außerhalb der datenbankabstraktion sichtbar sein? // müssen die überhaupt außerhalb der datenbankabstraktion sichtbar sein?
username: None, username: None,
...@@ -238,7 +238,7 @@ impl SessionUser { ...@@ -238,7 +238,7 @@ impl SessionUser {
csrf_token: "".to_string(), csrf_token: "".to_string(),
last_login: None, last_login: None,
last_activity: None, last_activity: None,
account_created: None, account_created: Some(time::get_time()),
username: None, username: None,
password: None, password: None,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment