mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-05 10:59:33 +00:00
Merge pull request #502 from eikek/fix-anon-page
Don't redirect to login for open pages
This commit is contained in:
commit
52dec662c5
@ -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
|
||||
]
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user