You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because we can't know if RoleBounds is a full range or not, we cannot
know if a None role means we must authenticate the user. So make
RoleBounds optional.
Closesmaxcountryman#66
epilys
added a commit
to epilys/axum-login
that referenced
this issue
May 5, 2023
Because we can't know if RoleBounds is a full range or not, we cannot
know if a None role means we must authenticate the user. So make
RoleBounds optional.
Closesmaxcountryman#66
Because we can't know if RoleBounds is a full range or not, we cannot
know if a None role means we must authenticate the user. So make
RoleBounds optional.
Closes#66
I noticed this:
axum-login/axum-login/src/auth.rs
Lines 159 to 165 in 7e8f0ef
This returns true if a user's role is
None
which means this check will authorize the user:axum-login/axum-login/src/auth.rs
Line 212 in 7e8f0ef
The text was updated successfully, but these errors were encountered: