Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
2cfbbdc3
Commit
2cfbbdc3
authored
Nov 12, 2020
by
Robert Czechowski
Committed by
Robert Czechowski
Jan 05, 2021
Browse files
Set account creation date of all new accounts to the curent time when their objects are created
parent
64091722
Changes
1
Show whitespace changes
Inline
Side-by-side
src/db_objects.rs
View file @
2cfbbdc3
...
...
@@ -199,7 +199,7 @@ impl SessionUser {
csrf_token
,
last_login
:
None
,
last_activity
:
None
,
account_created
:
None
,
account_created
:
Some
(
time
::
get_time
())
,
// müssen die überhaupt außerhalb der datenbankabstraktion sichtbar sein?
username
:
None
,
...
...
@@ -238,7 +238,7 @@ impl SessionUser {
csrf_token
:
""
.to_string
(),
last_login
:
None
,
last_activity
:
None
,
account_created
:
None
,
account_created
:
Some
(
time
::
get_time
())
,
username
:
None
,
password
:
None
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment