Commit 3fbff836 authored by Israel's avatar Israel Committed by Geovanni Perez

Issue119 updatere captcha (#120)

* recaptcha updated, recaptcha forms module added to use with reactive forms

* Copyright on footer changed to 2018

* Update footer.html
parent ddb76f7a
......@@ -5,7 +5,8 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { FlexLayoutModule } from "@angular/flex-layout";
import { RecaptchaModule } from 'ng2-recaptcha';
import { RecaptchaModule } from 'ng-recaptcha';
import { RecaptchaFormsModule } from 'ng-recaptcha/forms';
import { AppRoutingModule } from './app.routing-module';
import { MaterialModule } from './app.material-module';
......@@ -27,8 +28,9 @@ import DialogOverview from './dialog/app.dialog';
HttpModule,
FlexLayoutModule,
RecaptchaModule.forRoot(),
ReactiveFormsModule,
AppRoutingModule
RecaptchaFormsModule,
ReactiveFormsModule,
AppRoutingModule
],
providers: [],
bootstrap: [ChangePasswordComponent],
......
......@@ -74,7 +74,7 @@
</div>
<div fxLayout="row" fxLayoutAlign="center center" [formGroup]="FormGroup" *ngIf="ViewOptions.recaptcha.isEnabled">
<recaptcha (resolved)="SetRecaptchaResponse($event)" siteKey="{{ViewOptions.recaptcha.siteKey}}" formControlName="reCaptcha"></recaptcha>
<re-captcha (resolved)="SetRecaptchaResponse($event)" siteKey="{{ViewOptions.recaptcha.siteKey}}" formControlName="reCaptcha"></re-captcha>
</div>
<div fxLayout="column" fxLayoutAlign="center center" class="container-footer">
......
......@@ -13,9 +13,9 @@
</div>
<div fxLayout="column" fxLayoutAlign="center">
<div class="footer-text">
Powered by PassCore v3.0.0 - Open Source Initiative and MIT Licensed
Powered by PassCore v3.0.2 - Open Source Initiative and MIT Licensed
<br>
Copyright © 2017 Unosquare
Copyright © 2018 Unosquare
</div>
</div>
</footer>
\ No newline at end of file
</footer>
......@@ -50,7 +50,7 @@
"@angular/platform-browser-dynamic": "4.4.4",
"@angular/router": "4.4.4",
"core-js": "2.4.1",
"ng2-recaptcha": "1.7.0",
"ng-recaptcha": "2.0.0",
"rxjs": "5.4.2",
"zone.js": "0.8.14"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment