prettier + clang-format.

This commit is contained in:
2024-04-11 18:36:31 -04:00
parent a7922ff44e
commit 1ceeed1007
7 changed files with 277 additions and 1667 deletions

View File

@ -1222,7 +1222,8 @@ static void _httpd_endpoint_login(tf_http_request_t* request)
if (form_register && strcmp(form_register, "1") == 0)
{
if (!have_account && _is_name_valid(account_name) && password && confirm && strcmp(password, confirm) == 0 && tf_ssb_db_register_account(ssb, account_name, password))
if (!have_account && _is_name_valid(account_name) && password && confirm && strcmp(password, confirm) == 0 &&
tf_ssb_db_register_account(ssb, account_name, password))
{
tf_free((void*)send_session);
send_session = _make_session_jwt(ssb, account_name);