diff options
author | Timo Förster <tfoerster@webfoersterei.de> | 2018-07-27 11:20:47 +0200 |
---|---|---|
committer | Timo Förster <tfoerster@webfoersterei.de> | 2018-08-24 23:12:02 +0200 |
commit | 006e150c879312264db10009792c7035be9562dc (patch) | |
tree | 87d2123babd84d3a109d041671c031bdbcda5ce7 /core/js/setupchecks.js | |
parent | 9823c7197150e4134490c043c2e2e53733eae783 (diff) | |
download | nextcloud-server-006e150c879312264db10009792c7035be9562dc.tar.gz nextcloud-server-006e150c879312264db10009792c7035be9562dc.zip |
Change check if secure randomness is possible.
Signed-off-by: Timo Förster <tfoerster@webfoersterei.de>
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r-- | core/js/setupchecks.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 628606a9e5b..62f0fb10c10 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -183,10 +183,10 @@ type: OC.SetupChecks.MESSAGE_TYPE_INFO }); } - if(!data.isUrandomAvailable) { + if(!data.isRandomnessSecure) { messages.push({ - msg: t('core', '/dev/urandom is not readable by PHP which is highly discouraged for security reasons. Further information can be found in the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation</a>.', {docLink: data.securityDocs}), - type: OC.SetupChecks.MESSAGE_TYPE_WARNING + msg: t('core', 'No suitable source for randomness found by PHP which is highly discouraged for security reasons. Further information can be found in the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation</a>.', {docLink: data.securityDocs}), + type: OC.SetupChecks.MESSAGE_TYPE_ERROR }); } if(data.isUsedTlsLibOutdated) { |