This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WebKit font-smoothing | |
//------------------------------------------------ | |
// References: | |
// | |
// 1. http://maxvoltar.com/sandbox/fontsmoothing/ | |
// 2. http://maxvoltar.com/archive/-webkit-font-smoothing | |
// | |
// Values: none, antialiased (default), subpixel-antialiased | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add this to your config.php file | |
if (stripos($_SERVER["REQUEST_URI"],'/controller/method') === FALSE) { | |
$config['csrf_protection'] = TRUE; | |
}else{ | |
$config['csrf_protection'] = FALSE; | |
} | |
//the rest of the code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
exports.handler = (event, context, callback) => { | |
console.log('Received event:', JSON.stringify(event, null, 2)) | |
const modifiedEvent = event | |
// check that we're acting on the right trigger | |
if (event.triggerSource === "PreSignUp_SignUp"){ | |
// auto confirm the user |