mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 17:08:58 +01:00
fix(options/mfa): significant calls to OAuth status endpoint
This commit is contained in:
parent
db46ca0a76
commit
a0a904766f
@ -207,7 +207,7 @@ function OAuthSettings() {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
server.get<OAuthStatus>("oauth/status").then(setStatus);
|
server.get<OAuthStatus>("oauth/status").then(setStatus);
|
||||||
});
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<OptionsSection title={t("multi_factor_authentication.oauth_title")}>
|
<OptionsSection title={t("multi_factor_authentication.oauth_title")}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user