Commit 350a0f18 authored by Graham Campbell's avatar Graham Campbell

Merge branch 'master' into develop

parents 614edf79 51299e78
...@@ -16,4 +16,4 @@ MAIL_HOST=mailtrap.io ...@@ -16,4 +16,4 @@ MAIL_HOST=mailtrap.io
MAIL_PORT=2525 MAIL_PORT=2525
MAIL_USERNAME=null MAIL_USERNAME=null
MAIL_PASSWORD=null MAIL_PASSWORD=null
MAIL_ENCRYPTION=null MAIL_ENCRYPTION=null
\ No newline at end of file
/vendor /vendor
/node_modules /node_modules
Homestead.yaml
Homestead.json
.env .env
...@@ -5,6 +5,7 @@ namespace App\Http\Controllers\Auth; ...@@ -5,6 +5,7 @@ namespace App\Http\Controllers\Auth;
use App\User; use App\User;
use Validator; use Validator;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
class AuthController extends Controller class AuthController extends Controller
...@@ -20,7 +21,7 @@ class AuthController extends Controller ...@@ -20,7 +21,7 @@ class AuthController extends Controller
| |
*/ */
use AuthenticatesAndRegistersUsers; use AuthenticatesAndRegistersUsers, ThrottlesLogins;
/** /**
* Create a new authentication controller instance. * Create a new authentication controller instance.
......
...@@ -15,24 +15,24 @@ return [ ...@@ -15,24 +15,24 @@ return [
*/ */
'mailgun' => [ 'mailgun' => [
'domain' => '', 'domain' => env('MAILGUN_DOMAIN'),
'secret' => '', 'secret' => env('MAILGUN_SECRET'),
], ],
'mandrill' => [ 'mandrill' => [
'secret' => '', 'secret' => env('MANDRILL_SECRET'),
], ],
'ses' => [ 'ses' => [
'key' => '', 'key' => env('SES_KEY'),
'secret' => '', 'secret' => env('SES_SECRET'),
'region' => 'us-east-1', 'region' => 'us-east-1',
], ],
'stripe' => [ 'stripe' => [
'model' => App\User::class, 'model' => App\User::class,
'key' => '', 'key' => env('STRIPE_KEY'),
'secret' => '', 'secret' => env('STRIPE_SECRET'),
], ],
]; ];
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
| |
*/ */
$factory->define(App\User::class, function ($faker) { $factory->define(App\User::class, function (Faker\Generator $faker) {
return [ return [
'name' => $faker->name, 'name' => $faker->name,
'email' => $faker->email, 'email' => $faker->email,
'password' => str_random(10), 'password' => bcrypt(str_random(10)),
'remember_token' => str_random(10), 'remember_token' => str_random(10),
]; ];
}); });
...@@ -14,7 +14,7 @@ class DatabaseSeeder extends Seeder ...@@ -14,7 +14,7 @@ class DatabaseSeeder extends Seeder
{ {
Model::unguard(); Model::unguard();
// $this->call('UserTableSeeder'); // $this->call(UserTableSeeder::class);
Model::reguard(); Model::reguard();
} }
......
...@@ -6,11 +6,11 @@ var elixir = require('laravel-elixir'); ...@@ -6,11 +6,11 @@ var elixir = require('laravel-elixir');
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Elixir provides a clean, fluent API for defining some basic Gulp tasks | Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Less | for your Laravel application. By default, we are compiling the Sass
| file for our application, as well as publishing vendor resources. | file for our application, as well as publishing vendor resources.
| |
*/ */
elixir(function(mix) { elixir(function(mix) {
mix.less('app.less'); mix.sass('app.scss');
}); });
{ {
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"gulp": "^3.8.8", "gulp": "^3.8.8"
"laravel-elixir": "^2.0.0" },
"dependencies": {
"laravel-elixir": "^3.0.0",
"bootstrap-sass": "^3.0.0"
} }
} }
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
RewriteEngine On RewriteEngine On
# Redirect Trailing Slashes... # Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301] RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller... # Handle Front Controller...
......
// @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'These credentials do not match our records.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];
...@@ -14,9 +14,9 @@ return [ ...@@ -14,9 +14,9 @@ return [
*/ */
'password' => 'Passwords must be at least six characters and match the confirmation.', 'password' => 'Passwords must be at least six characters and match the confirmation.',
'user' => "We can't find a user with that e-mail address.",
'token' => 'This password reset token is invalid.',
'sent' => 'We have e-mailed your password reset link!',
'reset' => 'Your password has been reset!', 'reset' => 'Your password has been reset!',
'sent' => 'We have e-mailed your password reset link!',
'token' => 'This password reset token is invalid.',
'user' => "We can't find a user with that e-mail address.",
]; ];
...@@ -35,8 +35,8 @@ return [ ...@@ -35,8 +35,8 @@ return [
'digits' => 'The :attribute must be :digits digits.', 'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.', 'digits_between' => 'The :attribute must be between :min and :max digits.',
'email' => 'The :attribute must be a valid email address.', 'email' => 'The :attribute must be a valid email address.',
'filled' => 'The :attribute field is required.',
'exists' => 'The selected :attribute is invalid.', 'exists' => 'The selected :attribute is invalid.',
'filled' => 'The :attribute field is required.',
'image' => 'The :attribute must be an image.', 'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.', 'in' => 'The selected :attribute is invalid.',
'integer' => 'The :attribute must be an integer.', 'integer' => 'The :attribute must be an integer.',
...@@ -70,8 +70,8 @@ return [ ...@@ -70,8 +70,8 @@ return [
'string' => 'The :attribute must be :size characters.', 'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.', 'array' => 'The :attribute must contain :size items.',
], ],
'timezone' => 'The :attribute must be a valid zone.',
'string' => 'The :attribute must be a string.', 'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.', 'unique' => 'The :attribute has already been taken.',
'url' => 'The :attribute format is invalid.', 'url' => 'The :attribute format is invalid.',
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<title>Be right back.</title> <title>Be right back.</title>
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'> <link href="//fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
<style> <style>
html, body { html, body {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<title>Laravel</title> <title>Laravel</title>
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'> <link href="//fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
<style> <style>
html, body { html, body {
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 100%; width: 100%;
color: #B0BEC5;
display: table; display: table;
font-weight: 100; font-weight: 100;
font-family: 'Lato'; font-family: 'Lato';
...@@ -33,11 +32,6 @@ ...@@ -33,11 +32,6 @@
.title { .title {
font-size: 96px; font-size: 96px;
margin-bottom: 40px;
}
.quote {
font-size: 24px;
} }
</style> </style>
</head> </head>
...@@ -45,7 +39,6 @@ ...@@ -45,7 +39,6 @@
<div class="container"> <div class="container">
<div class="content"> <div class="content">
<div class="title">Laravel 5</div> <div class="title">Laravel 5</div>
<div class="quote">{{ Inspiring::quote() }}</div>
</div> </div>
</div> </div>
</body> </body>
......
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