Registration dates sent to clients on GetUser and similar.
This commit is contained in:
parent
a98c0b701d
commit
e47f7e7f75
1 changed files with 4 additions and 2 deletions
|
@ -63,12 +63,14 @@ class AuthD::User
|
|||
property uid : Int32
|
||||
property profile : JSON::Any?
|
||||
|
||||
def initialize(@uid, @login, @profile)
|
||||
property date_registration : Time?
|
||||
|
||||
def initialize(@uid, @login, @profile, @date_registration)
|
||||
end
|
||||
end
|
||||
|
||||
def to_public : Public
|
||||
Public.new @uid, @login, @profile
|
||||
Public.new @uid, @login, @profile, @date_registration
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue