mirror of
https://github.com/Yubico/yubiadmin.git
synced 2024-12-01 16:24:13 +01:00
Use --urandom when creating API Clients.
This commit is contained in:
parent
5887047f8e
commit
fba0632a30
@ -314,7 +314,7 @@ class YubikeyValClients(CollectionApp):
|
||||
return self._data[offset:limit]
|
||||
|
||||
def create(self, request):
|
||||
status, output = run('ykval-gen-clients')
|
||||
status, output = run('ykval-gen-clients --urandom')
|
||||
print 'STATUS: %r' % status
|
||||
if status == 0:
|
||||
parts = [x.strip() for x in output.split(',')]
|
||||
|
@ -1,7 +1,7 @@
|
||||
<legend>API Client created</legend>
|
||||
<p>An API Client with the following ID and API key has been created, and is ready for use.</p>
|
||||
|
||||
<dl>
|
||||
<dl class="dl-horizontal">
|
||||
<dt>Client ID</dt>
|
||||
<dd>{{ client_id }}</dd>
|
||||
<dt>API Key</dt>
|
||||
|
Loading…
Reference in New Issue
Block a user