Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
angular2-google-recaptcha
Advanced tools
angular2-google-recaptcha is a simple congigurable angular2 directive
The sources for this package are in (https://github.com/rajan-g/angular2-google-recaptcha) repo. Please file issues and pull requests against that repo.
Live Demo Site OR Live Demo Site
npm install angular2-google-recaptcha
<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit"
async defer>
import {Component} from 'angular2/core';
import {GoogleRecaptchaDirective} from '../directives/googlerecaptcha.directive';
@Component({
selector : 'my-app',
directives: [GoogleRecaptchaDirective],
template: `
<div (setVerified) = "setVerified($event)" googlerecaptcha [siteKey] = "siteKey" [theme] = 'theme' ></div>
`
})
export class AppComponent {
public verified : any;
public siteKey: string = "sitekey";//example: 6LdEnxQTfkdldc-Wa6iKZSelks823exsdcjX7A-N
public theme: string = "light";//you can give any google themes light or dark
setVerified(data) {
console.log(data) // data will return true while successfully verified
}
}
FAQs
angular2-google-recaptcha is a simple congigurable angular2 directive
We found that angular2-google-recaptcha demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.