fix: allow book viewers while Remote Auth enabled (#386)
- Remove the router navigation to '/dashboard' after remote login in auth-initializer.ts Signed-off-by: justmiles <1012226+justmiles@users.noreply.github.com> Co-authored-by: justmiles <1012226+justmiles@users.noreply.github.com>
This commit is contained in:
@@ -55,7 +55,6 @@ export function initializeAuthFactory() {
|
|||||||
} else if (settings.remoteAuthEnabled) {
|
} else if (settings.remoteAuthEnabled) {
|
||||||
authService.remoteLogin().subscribe({
|
authService.remoteLogin().subscribe({
|
||||||
next: () => {
|
next: () => {
|
||||||
router.navigate(['/dashboard']);
|
|
||||||
resolve();
|
resolve();
|
||||||
},
|
},
|
||||||
error: resolve
|
error: resolve
|
||||||
|
|||||||
Reference in New Issue
Block a user