Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
belenios
belenios
Commits
12137cfd
Commit
12137cfd
authored
Mar 22, 2014
by
Stephane Glondu
Browse files
Fix regression in logout handling on election home
parent
0544f53e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/web/web_election.ml
View file @
12137cfd
...
...
@@ -308,7 +308,12 @@ let make {raw_election; metadata; featured; params_fname; public_keys_fname} =
let
()
=
Html5
.
register
~
service
:
W
.
S
.
home
(
if_eligible
S
.
get_logged_user
can_read
(
fun
user
()
->
T
.
home
~
user
()
)
(
fun
user
()
->
let
module
X
=
struct
let
s
=
W
.
S
.
home
end
in
let
x
=
(
module
X
:
SAVED_SERVICE
)
in
Eliom_reference
.
set
S
.
saved_service
x
>>
T
.
home
~
user
()
)
)
let
f_raw
user
()
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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