mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-04 17:24:48 +00:00
fix: prevent endless effect loop in login wrapper
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
label: m.alternative_sign_in_methods()
|
||||
});
|
||||
|
||||
$effect(() => {
|
||||
if ($appConfigStore.emailOneTimeAccessAsUnauthenticatedEnabled) {
|
||||
appConfigStore.subscribe((config) => {
|
||||
if (config.emailOneTimeAccessAsUnauthenticatedEnabled) {
|
||||
alternativeSignInButton.href = '/login/alternative';
|
||||
alternativeSignInButton.label = m.alternative_sign_in_methods();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user