Merge pull request #15830 from owncloud/enc2-ajaxstatuswhenloggedin
Only get encryption status when logged in
This commit is contained in:
commit
8997d2f0d1
|
@ -15,7 +15,7 @@ if (!OC.Encryption) {
|
|||
*/
|
||||
OC.Encryption = {
|
||||
displayEncryptionWarning: function () {
|
||||
if (!OC.Notification.isHidden()) {
|
||||
if (!OC.currentUser || !OC.Notification.isHidden()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue