mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Don't redirect to login for open pages
This commit is contained in:
@ -57,7 +57,11 @@ init flags url key =
|
||||
[ cmd
|
||||
, ic
|
||||
, Api.versionInfo flags VersionResp
|
||||
, Api.loginSession flags SessionCheckResp
|
||||
, if Page.isSecured page then
|
||||
Api.loginSession flags SessionCheckResp
|
||||
|
||||
else
|
||||
Cmd.none
|
||||
, Ports.getUiSettings flags
|
||||
]
|
||||
)
|
||||
|
Reference in New Issue
Block a user