mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-02-24 09:52:00 +00:00
chore(deps-dev): bump @eslint/js from 9.39.2 to 10.0.1 in /frontend (#636)
* chore(deps-dev): bump @eslint/js from 9.39.2 to 10.0.1 in /frontend Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.39.2 to 10.0.1. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/commits/HEAD/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-version: 10.0.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix: fix eslint errors --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stavros <steveiliop56@gmail.com>
This commit is contained in:
@@ -17,10 +17,10 @@ export const useRedirectUri = (
|
||||
|
||||
if (!redirect_uri) {
|
||||
return {
|
||||
valid: false,
|
||||
trusted: false,
|
||||
allowedProto: false,
|
||||
httpsDowngrade: false,
|
||||
valid: isValid,
|
||||
trusted: isTrusted,
|
||||
allowedProto: isAllowedProto,
|
||||
httpsDowngrade: isHttpsDowngrade,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,10 +30,10 @@ export const useRedirectUri = (
|
||||
url = new URL(redirect_uri);
|
||||
} catch {
|
||||
return {
|
||||
valid: false,
|
||||
trusted: false,
|
||||
allowedProto: false,
|
||||
httpsDowngrade: false,
|
||||
valid: isValid,
|
||||
trusted: isTrusted,
|
||||
allowedProto: isAllowedProto,
|
||||
httpsDowngrade: isHttpsDowngrade,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user