Skip to content

Commit ad01e43

Browse files
author
Your Name
committed
angular security course
1 parent 168c19e commit ad01e43

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/app/app.module.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { BrowserModule } from '@angular/platform-browser';
22
import { NgModule } from '@angular/core';
3-
import {HttpClientModule, HttpClientXsrfModule} from '@angular/common/http';
3+
import {HttpClientModule} from '@angular/common/http';
44

55
import { AppComponent } from './app.component';
66
import { LessonsComponent } from './lessons/lessons.component';
@@ -33,10 +33,6 @@ import 'rxjs/add/observable/of';
3333
imports: [
3434
BrowserModule,
3535
HttpClientModule,
36-
HttpClientXsrfModule.withOptions({
37-
cookieName: 'CSRF-TOKEN',
38-
headerName: 'x-csrf-token',
39-
}),
4036
RouterModule.forRoot(routesConfig),
4137
ReactiveFormsModule
4238
],

0 commit comments

Comments
 (0)