diff --git a/client/src/app/admin/friends/friend-add/friend-add.component.html b/client/src/app/admin/friends/friend-add/friend-add.component.html index 621822860..eebe033f9 100644 --- a/client/src/app/admin/friends/friend-add/friend-add.component.html +++ b/client/src/app/admin/friends/friend-add/friend-add.component.html @@ -22,5 +22,9 @@ +
+ It seems that you are not on a HTTPS pod. Your webserver need to have TLS activated in order to make friends. +
+ diff --git a/client/src/app/admin/friends/friend-add/friend-add.component.ts b/client/src/app/admin/friends/friend-add/friend-add.component.ts index 86b018de2..14f24c192 100644 --- a/client/src/app/admin/friends/friend-add/friend-add.component.ts +++ b/client/src/app/admin/friends/friend-add/friend-add.component.ts @@ -27,6 +27,10 @@ export class FriendAddComponent implements OnInit { this.hosts.push(''); } + canMakeFriends() { + return window.location.protocol === 'https://'; + } + customTrackBy(index: number, obj: any): any { return index; }