1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-21 00:45:18 +00:00

Can get language settings

This commit is contained in:
2020-07-14 13:16:52 +02:00
parent 4cbf57d369
commit 5a1093b33a
6 changed files with 34 additions and 1 deletions

View File

@ -65,6 +65,7 @@ fn exec_get_user_query(query: database::QueryInfo) -> ResultBoxError<User> {
allow_posts_from_friends: res.get_legacy_bool("autoriser_post_amis")?,
account_creation_time: res.get_date_as_time("date_creation")?,
allow_mails: res.get_legacy_bool("autorise_mail")?,
lang: res.get_str("lang")?,
security_question_1: res.get_optional_str("question1")?,
security_answer_1: res.get_optional_str("reponse1")?,
security_question_2: res.get_optional_str("question2")?,