Giter Club home page Giter Club logo

angular2-google-recaptcha's People

Contributors

rajan-g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

angular2-google-recaptcha's Issues

SiteKey, theme error

Hello,

I'm getting the following errors:

EXCEPTION: Error: Uncaught (in promise): Template parse errors:
Can't bind to 'siteKey' since it isn't a known native property ("d="loginContainer" class="container">
<div (setVerified)="setVerified($event)" googlerecaptcha [ERROR ->][siteKey]="siteKey" [theme]='light'>

"):

Failed at the [email protected] postinstall script 'typings install'.

npm install for this package fails at typings install.

verbose stack Error: [email protected] postinstall: typings install
243 verbose stack spawn ENOENT
243 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:33:16)
243 verbose stack at emitTwo (events.js:106:13)
243 verbose stack at ChildProcess.emit (events.js:191:7)
243 verbose stack at maybeClose (internal/child_process.js:886:16)
243 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
244 verbose pkgid [email protected]
245 verbose cwd /Users/Samir/Desktop/portfolio-app/my-resume
246 verbose Darwin 16.6.0
247 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "angular2-google-recaptcha"
248 verbose node v6.10.2
249 verbose npm v5.0.3
250 error file sh
251 error code ELIFECYCLE
252 error errno ENOENT
253 error syscall spawn
254 error [email protected] postinstall: typings install
254 error spawn ENOENT
255 error Failed at the [email protected] postinstall script.
255 error This is probably not a problem with npm. There is likely additional logging output above.
256 verbose exit [ 1, true ]

Response from recaptcha never passed to application-layer

Thecaptcha response needs to be transfered to the application layer so that it can be sent to the server-side for verification with google.

The callback function needs to pass this hash to the app layer instead of just passing true.

if(data) {
    this.setVerified.emit(data);
}

See pull request #4

Use with e2e testing?

Any suggestions for how to turn off recaptcha, or use the special magic key, to prevent e2e tests from breaking?

Upgrade to RC5

hi. i want angular2-google-recaptcha in my project and my project is angular 2 (rc5). please upgrade your code and if i use this code, just say me how?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.