mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
ensure .password file response body is string from axios
This commit is contained in:
+1
-1
@@ -134,7 +134,7 @@ export async function checkAuthRoute(
|
||||
if (
|
||||
!compareHashedToken({
|
||||
odTokenHeader: odTokenHeader,
|
||||
dotPassword: odProtectedToken.data,
|
||||
dotPassword: odProtectedToken.data.toString(),
|
||||
})
|
||||
) {
|
||||
return { code: 401, message: 'Password required.' }
|
||||
|
||||
Reference in New Issue
Block a user