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

Can get general settings

This commit is contained in:
2020-07-14 11:15:20 +02:00
parent fb7f56c359
commit dcd8b07b60
7 changed files with 79 additions and 2 deletions

View File

@ -64,6 +64,7 @@ fn exec_get_user_query(query: database::QueryInfo) -> ResultBoxError<User> {
block_comments_on_his_page: res.get_legacy_bool("bloquecommentaire")?,
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")?,
security_question_1: res.get_optional_str("question1")?,
security_answer_1: res.get_optional_str("reponse1")?,
security_question_2: res.get_optional_str("question2")?,