Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
belenios
belenios
Commits
f844192c
Commit
f844192c
authored
Mar 20, 2015
by
Stephane Glondu
Browse files
Simplification
parent
3ae20596
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/web/web_main.ml
View file @
f844192c
...
...
@@ -119,7 +119,7 @@ let spool_dir =
let
()
=
Web_site
.
source_file
:=
source_file
let
()
=
Web_site
.
spool_dir
:=
spool_dir
let
()
=
Web_site
.
install_authentication
!
auth_instances
let
()
=
Web_site
_auth
.
configure
!
auth_instances
lwt
()
=
Lwt_list
.
iter_s
(
fun
dir
->
...
...
src/web/web_site.ml
View file @
f844192c
...
...
@@ -224,9 +224,6 @@ lwt () =
return
()
)
election_ptable
let
install_authentication
auth_configs
=
Web_site_auth
.
configure
auth_configs
let
()
=
Any
.
register
~
service
:
home
(
fun
()
()
->
Eliom_reference
.
unset
cont
>>
...
...
src/web/web_site.mli
View file @
f844192c
...
...
@@ -27,4 +27,3 @@ val spool_dir : string ref
val
import_election
:
election_files
->
(
module
REGISTRABLE_ELECTION
)
option
Lwt
.
t
val
install_authentication
:
auth_config
list
->
unit
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment