The requested page requires authentication.
Please sign in to continue.
diff --git a/services/utilities.service.ts b/services/utilities.service.ts
index e9f59fce..16a92dc5 100644
--- a/services/utilities.service.ts
+++ b/services/utilities.service.ts
@@ -13,15 +13,11 @@ export class UtilitiesService {
uploadPhoto(url: string, photo: File): Observable
{
const formData = new FormData();
formData.append('photo', photo);
- return this.http.post(url, formData, CustomOptions.getAuthOptions());
+ return this.http.post(url, formData, {withCredentials: true});
}
- deletePhoto(url: string) {
- return this.http.delete(url, CustomOptions.getAuthOptions());
+ deletePhoto(url: string): Observable {
+ return this.http.delete(url, {withCredentials: true});
}
-
- getTiny(url: string) {
- return this.http.get(url, {responseType: 'text'});
- }
-
+
}
diff --git a/sharedComponents/navigationBar.component.html b/sharedComponents/navigationBar.component.html
index b0b0fd51..7053eac6 100644
--- a/sharedComponents/navigationBar.component.html
+++ b/sharedComponents/navigationBar.component.html
@@ -272,7 +272,7 @@
class="uk-responsive-height">
-
{{header.title}}
+
{{header.title}}
@@ -284,7 +284,7 @@
class="uk-responsive-height">
-
{{header.title}}
+
{{header.title}}