Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
matograine
silkaj
Commits
347c43df
Commit
347c43df
authored
Jan 31, 2019
by
Moul
Committed by
Mael
Mar 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[mod] #170: cert: move license display after auth and checks
parent
583c3d48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
silkaj/cert.py
silkaj/cert.py
+5
-5
No files found.
silkaj/cert.py
View file @
347c43df
...
...
@@ -37,11 +37,6 @@ async def send_certification(id_to_certify):
id_to_certify
=
await
get_informations_for_identity
(
id_to_certify
)
main_id_to_certify
=
id_to_certify
[
"uids"
][
0
]
# Display license and ask for confirmation
head
=
await
HeadBlock
().
head_block
currency
=
head
[
"currency"
]
license_approval
(
currency
)
# Authentication
key
=
auth_method
()
...
...
@@ -72,6 +67,11 @@ async def send_certification(id_to_certify):
if
pending_cert
[
"from"
]
==
issuer_pubkey
:
message_exit
(
"Certification is currently been processed"
)
# Display license and ask for confirmation
head
=
await
HeadBlock
().
head_block
currency
=
head
[
"currency"
]
license_approval
(
currency
)
# Certification confirmation
await
certification_confirmation
(
issuer_id
,
issuer_pubkey
,
id_to_certify
,
main_id_to_certify
...
...
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