diff options
Diffstat (limited to 'backyard/php-api/trunk/app/Http/Controllers/Auth')
-rw-r--r-- | backyard/php-api/trunk/app/Http/Controllers/Auth/AuthController.php | 38 | ||||
-rw-r--r-- | backyard/php-api/trunk/app/Http/Controllers/Auth/PasswordController.php | 38 |
2 files changed, 0 insertions, 76 deletions
diff --git a/backyard/php-api/trunk/app/Http/Controllers/Auth/AuthController.php b/backyard/php-api/trunk/app/Http/Controllers/Auth/AuthController.php deleted file mode 100644 index 4ad5c58..0000000 --- a/backyard/php-api/trunk/app/Http/Controllers/Auth/AuthController.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php namespace App\Http\Controllers\Auth; - -use App\Http\Controllers\Controller; -use Illuminate\Contracts\Auth\Guard; -use Illuminate\Contracts\Auth\Registrar; -use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; - -class AuthController extends Controller { - - /* - |-------------------------------------------------------------------------- - | Registration & Login Controller - |-------------------------------------------------------------------------- - | - | This controller handles the registration of new users, as well as the - | authentication of existing users. By default, this controller uses - | a simple trait to add these behaviors. Why don't you explore it? - | - */ - - use AuthenticatesAndRegistersUsers; - - /** - * Create a new authentication controller instance. - * - * @param \Illuminate\Contracts\Auth\Guard $auth - * @param \Illuminate\Contracts\Auth\Registrar $registrar - * @return void - */ - public function __construct(Guard $auth, Registrar $registrar) - { - $this->auth = $auth; - $this->registrar = $registrar; - - $this->middleware('guest', ['except' => 'getLogout']); - } - -} diff --git a/backyard/php-api/trunk/app/Http/Controllers/Auth/PasswordController.php b/backyard/php-api/trunk/app/Http/Controllers/Auth/PasswordController.php deleted file mode 100644 index 3106193..0000000 --- a/backyard/php-api/trunk/app/Http/Controllers/Auth/PasswordController.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php namespace App\Http\Controllers\Auth; - -use App\Http\Controllers\Controller; -use Illuminate\Contracts\Auth\Guard; -use Illuminate\Contracts\Auth\PasswordBroker; -use Illuminate\Foundation\Auth\ResetsPasswords; - -class PasswordController extends Controller { - - /* - |-------------------------------------------------------------------------- - | Password Reset Controller - |-------------------------------------------------------------------------- - | - | This controller is responsible for handling password reset requests - | and uses a simple trait to include this behavior. You're free to - | explore this trait and override any methods you wish to tweak. - | - */ - - use ResetsPasswords; - - /** - * Create a new password controller instance. - * - * @param \Illuminate\Contracts\Auth\Guard $auth - * @param \Illuminate\Contracts\Auth\PasswordBroker $passwords - * @return void - */ - public function __construct(Guard $auth, PasswordBroker $passwords) - { - $this->auth = $auth; - $this->passwords = $passwords; - - $this->middleware('guest'); - } - -} |