Create SendWelcomeEmailNotification
notification
php artisan make:notification SendWelcomeEmailNotification
authService.login = function(credentials) { | |
// we need this to return a promise but we also want to hook into the promise. | |
return ApiInterface.makeRequest('/api/auth', 'POST', credentials) | |
.then( function(response) { // success | |
Session.setAuthToken(response.data.authToken); | |
Session.initDataStore('order-details', credentials); | |
$rootScope.$emit(AUTH_EVENTS.loginSuccess); | |
}) | |
.catch( function(error) { // failed |
authService.login = function(credentials) { | |
// we need this to return a promise but we also want to hook into the promise. | |
return ApiInterface.makeRequest('/api/auth', 'POST', credentials) | |
.then( function(response) { // success | |
Session.setAuthToken(response.data.authToken); | |
Session.initDataStore('order-details', credentials); | |
$rootScope.$emit(AUTH_EVENTS.loginSuccess); | |
}) | |
.catch( function(error) { // failed |
rabbitmqctl add_user test test | |
rabbitmqctl set_user_tags test administrator | |
rabbitmqctl set_permissions -p / test ".*" ".*" ".*" |
$(document).ready(function() { | |
var cc_4 = $("input[name='cc_4']"); | |
cc_4.blur( function() { // DEV-599 | |
if ( (cc_4.val().length) == 3 ) { | |
var no_amex = "Sorry American Express is not accepted."; | |
if ( $('#cc_number-E').length ) { |