Avatars re-added, I guess.
parent
136bb589f5
commit
66ac26b46e
|
@ -201,6 +201,7 @@ class AuthD::User
|
|||
@office_phone_number = gecos[2]?
|
||||
@home_phone_number = gecos[3]?
|
||||
@other_contact = gecos[4]?
|
||||
@avatar = gecos[5]? # CAUTION: NON-STANDARD EXTENSION
|
||||
end
|
||||
|
||||
# FIXME: What about those two fields? Keep them, remove them?
|
||||
|
|
|
@ -12,6 +12,7 @@ class AuthD::User
|
|||
getter office_phone_number : String? = nil
|
||||
getter home_phone_number : String? = nil
|
||||
getter other_contact : String? = nil
|
||||
getter avatar : String? = nil
|
||||
|
||||
JSON.mapping({
|
||||
login: String,
|
||||
|
@ -42,7 +43,8 @@ class AuthD::User
|
|||
:full_name => @full_name,
|
||||
:office_phone_number => @office_phone_number,
|
||||
:home_phone_number => @home_phone_number,
|
||||
:other_contact => @other_contact
|
||||
:other_contact => @other_contact,
|
||||
:avatar => @avatar
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue