Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
belenios
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
belenios
belenios
Commits
304431ee
Commit
304431ee
authored
Jun 05, 2015
by
Stephane Glondu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setup mode: confirmation pages for trustees and credentials
parent
932197ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/web/web_site.ml
src/web/web_site.ml
+5
-2
No files found.
src/web/web_site.ml
View file @
304431ee
...
...
@@ -528,7 +528,8 @@ let handle_credentials_post token creds =
Printf
.
ksprintf
failwith
"invalid credential at line %d"
!
i
)
(
Lwt_io
.
lines_of_file
fname
)
in
Redirection
.
send
(
preapply
election_setup_credentials
token
)
T
.
generic_page
~
title
:
"Success"
"Credentials have been received and checked!"
()
>>=
Html5
.
send
let
()
=
Any
.
register
...
...
@@ -572,7 +573,9 @@ let () =
(* we keep pk as a string because of G.t *)
pkref
:=
public_key
;
Ocsipersist
.
add
election_stable
uuid
se
)
>>
Redirection
.
send
(
preapply
election_setup_trustee
token
)
)
>>
T
.
generic_page
~
title
:
"Success"
"Your key has been received and checked!"
()
>>=
Html5
.
send
)
)
...
...
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