registration with zone

This commit is contained in:
Priec
2026-07-18 18:56:44 +02:00
parent ef751e241f
commit 34d8349f2c
6 changed files with 19 additions and 2 deletions

13
Cargo.lock generated
View File

@@ -962,7 +962,9 @@ dependencies = [
"dotenvy",
"fluent-templates",
"futures",
"jiff",
"lazy_static",
"nucleo",
"prost",
"prost-types",
"ratatui",
@@ -3735,6 +3737,16 @@ dependencies = [
"serde_core",
]
[[package]]
name = "jiff-sqlx"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07f07e4e3efb45ce1507e32af3b1e8f31d33d5edbf041ffeda3180042c3abc58"
dependencies = [
"jiff",
"sqlx",
]
[[package]]
name = "jiff-static"
version = "0.2.32"
@@ -6233,6 +6245,7 @@ dependencies = [
"dotenvy",
"futures",
"jiff",
"jiff-sqlx",
"jsonwebtoken",
"lazy_static",
"once_cell",

2
client

Submodule client updated: 9c8ae0b6fa...7f147d8630

View File

@@ -17,6 +17,7 @@ message RegisterRequest {
string password = 3;
string password_confirmation = 4;
string role = 5;
string timezone = 6; // IANA timezone, for example Europe/Bratislava
}
message AuthResponse {

Binary file not shown.

View File

@@ -11,6 +11,9 @@ pub struct RegisterRequest {
pub password_confirmation: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub role: ::prost::alloc::string::String,
/// IANA timezone, for example Europe/Bratislava
#[prost(string, tag = "6")]
pub timezone: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AuthResponse {

2
server

Submodule server updated: cbbf1ac16b...ee16d2fb5f