mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-31 03:40:38 +02:00
refactor: additional responsibilities to middleware, simplified handlers
fix
This commit is contained in:
@@ -6,7 +6,7 @@ use axum::{
|
||||
use axum_htmx::HxBoosted;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use common::storage::types::user::User;
|
||||
use common::storage::types::user::{Theme, User};
|
||||
|
||||
use crate::{
|
||||
html_state::HtmlState,
|
||||
@@ -50,7 +50,7 @@ pub async fn process_signup_and_show_verification(
|
||||
form.password,
|
||||
&state.db,
|
||||
form.timezone,
|
||||
"system".to_string(),
|
||||
Theme::System.as_str().to_string(),
|
||||
)
|
||||
.await
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user