gitdataai/libs/service/auth
ZhenYi b693bd6beb
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions
fix(auth): use explicit user_uid in login flow instead of context.user()
The login function calls auth_2fa_status before set_user(user.uid), so
context.user() returns None and causes Unauthorized error on subsequent
logins after logout. Extracts auth_2fa_status_by_uid as an internal
helper accepting a Uuid, preserving the context-based wrapper for API
endpoints that require an authenticated user.
2026-04-19 00:03:18 +08:00
..
captcha.rs init 2026-04-15 09:08:09 +08:00
email.rs init 2026-04-15 09:08:09 +08:00
login.rs fix(auth): use explicit user_uid in login flow instead of context.user() 2026-04-19 00:03:18 +08:00
logout.rs init 2026-04-15 09:08:09 +08:00
me.rs init 2026-04-15 09:08:09 +08:00
mod.rs init 2026-04-15 09:08:09 +08:00
password.rs feat(auth): add password reset confirmation endpoint and page 2026-04-18 23:02:39 +08:00
register.rs init 2026-04-15 09:08:09 +08:00
rsa.rs init 2026-04-15 09:08:09 +08:00
totp.rs fix(auth): use explicit user_uid in login flow instead of context.user() 2026-04-19 00:03:18 +08:00