Search
Search
Search
Search
Information
Information
Light
Dark
Open actions menu
Basic upload method
Bypass upload method
Tips!
If you encounter an error (by firewall) while uploading using both methods,
try changing extension of the file before uploading it and rename it right after.
This uploader supports multiple file upload.
Submit
~
var
www
podiocopy.bitkit.dk
httpdocs
app
Http
Controllers
Auth
File Content:
AuthController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Modules\Auth\AuthRepository; use Input; use Log; use Podio; use Redirect; use Auth; 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? | */ public function __construct(AuthRepository $auth) { $this->auth = $auth; } public function getLogin() { return Redirect::to($this->auth->getLoginURL()); } public function getAuth() { if ($this->auth->authenticate(Input::all())) { if (Podio::is_authenticated()) { Log::info("AuthController - podio authenticated"); } else { Log::error("AuthController - podio not authenticated"); } return Redirect::to('/'); } else { Log::error(Input::all()); } } public function getLogout() { Auth::logout(); return Redirect::to('/')->with('success', 'Your are now logged out!'); } }
Edit
Download
Unzip
Chmod
Delete