mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 02:22:21 +00:00
Make stricter distinction between password and app tokens
This commit is contained in:
@@ -70,7 +70,7 @@ where
|
||||
let user_id = auth.as_ref().user_id();
|
||||
if let Some(password) = auth.as_ref().password() {
|
||||
if let Ok(Some(user)) = auth_provider
|
||||
.validate_user_token(user_id, password)
|
||||
.validate_app_token(user_id, password)
|
||||
.instrument(info_span!("validate_user_token"))
|
||||
.await
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user