Skip to content

State isn't saved when using axum-login with leptos #145

Discussion options

You must be logged in to vote

I found the issue; when implementing the get_user function, I didn't include the hash that was being used as the session_auth_hash. Because of that, the session was being invalidated.

After including it here: https://gitlab.com/wptcsu/my-wpt/-/blob/main/src/user.rs?ref_type=heads#L242, the login session worked as expected.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jsimonrichard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #144 on December 20, 2023 02:20.