mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
fix(admin): force manual oauth refresh to bypass local cache
This commit is contained in:
@@ -29,7 +29,7 @@ pub(super) async fn execute_admin_provider_oauth_refresh(
|
||||
Ok(None) => {
|
||||
return Ok(RefreshDispatch::Respond(response::control_error_response(
|
||||
http::StatusCode::BAD_REQUEST,
|
||||
"缺少 refresh_token,需要重新授权",
|
||||
"Token 刷新未执行,请检查授权配置",
|
||||
)));
|
||||
}
|
||||
Err(AdminLocalOAuthRefreshError::HttpStatus {
|
||||
|
||||
Reference in New Issue
Block a user