Support the ongoing development of Laravel.io →
Authentication Input Forms

Hi I am using laravel 5 default user authentication system except that I have added few exra fields in User table. Everything else is saving just fine but I cant get image type I have added. When I try to get input inside AuthController

public function __construct(Guard $auth, Registrar $registrar)
	{
		dd(\Input::all(), $_FILES);
		$this->auth = $auth;
		$this->registrar = $registrar;
		$this->middleware('guest', ['except' => 'getLogout']);
	}

But I don't see any file type. It simply shows name of the loaded file nothing else.

Last updated 3 years ago.
0

Try

Auth::user()->field;
0

Sign in to participate in this thread!

Eventy

Your banner here too?

shah587 shah587 Joined 10 Mar 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.