Comments (10)
What version of laravel are you using it on?
Edit: Ok i actually noticed it in the screen 5.2
from voyager.
same problem..
from voyager.
5.2, same problem.
from voyager.
Here is a solution for this problem..
Change in: vendor/tcg/voyager/src/Controllers/VoyagerAuthController.php
`public function postLogin(Request $request){
$authenticated = false;
$this->validate($request, [
$this->loginUsername() => 'required',
'password' => 'required'
]);
// If the class is using the ThrottlesLogins trait, we can automatically throttle
// the login attempts for this application. We'll key this by the username and
// the IP address of the client making these requests into this application.
$throttles = $this->isUsingThrottlesLoginsTrait();
if ($throttles && $this->hasTooManyLoginAttempts($request)) {
return $this->sendLockoutResponse($request);
}
$credentials = $this->getCredentials($request);
if (Auth::attempt($credentials, $request->has('remember'))) {
$authenticated = true;
}
if($authenticated){
return $this->handleUserWasAuthenticated($request, $throttles);
}
// If the login attempt was unsuccessful we will increment the number of attempts
// to login and redirect the user back to the login form. Of course, when this
// user surpasses their maximum number of attempts they will get locked out.
if ($throttles) {
$this->incrementLoginAttempts($request);
}
return redirect($this->loginPath())
->withInput($request->only($this->loginUsername(), 'remember'))
->withErrors([
$this->loginUsername() => $this->getFailedLoginMessage(),
]);
}`
from voyager.
Yes its laravel 5.2 i have checked it in laravel 5.3.* and its working fine in that version but not in 5.2
And ooocrniooo solution also worked in 5.2 but after login avatar and profile image is not showing.
from voyager.
you must set manually a symlink to the storage path, after that your image path will be correct.
from voyager.
@faraz-purelogics As @ooocrniooo suggested, try to manually set a symlink (php artisan storage:link), but make sure you run console with admin rights.
from voyager.
Sadly - we do not support Laravel 5.2.
Could however, if many people need this feature for Laravel 5.2, it could be implemented.
from voyager.
i take this error in login voyager dashbord for first time :These credentials do not match our records.
[email protected] and password input ...help me guys thanks
from voyager.
@jafarchoupan, this issue has been closed for a year and a half. Please ask for help on our Slack group instead.
from voyager.
Related Issues (20)
- media library's one of the folders is not loading HOT 3
- custom action not found on cpanel HOT 1
- How Authorize Works in Voyager and add Custom Roles? HOT 1
- Is there any way to upload the images to cloudinary or any cloud service HOT 6
- Migrate from Google Sign-In, for conection in Analytcs
- Unable to add BREAD to table HOT 5
- email_verified_at column reset to NULL HOT 1
- Laravel 11 Support HOT 12
- @can feature on menu items based on permissions
- Passing variable to view
- My Laravel Voyager admin redirect back to login page after successful login, but this issue occurs on initial login. After that it works fine.
- google analytics deprecated HOT 1
- Select Dropdown using enum->value instead of enum?
- Sometimes get error 419 page expire and website is slow
- Route [voyager.posts.index] not defined
- Server side pagination page jump issue
- Partial translation with validation rule required_if
- Laravel 11 HOT 2
- "Tags" as a formfield
- getDoctrineColumn does not exist in Laravel 11 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voyager.