here starts other problem :D now route::auth(); not working. can't register user :) and so on... interesting...
ok solved by adding {{ LaravelLocalization::getLocalizedURL(null,'/register') }}
Ok
@lsteamgeo I have question. Just find out that in login if I am leaving every input blank it not returning me errors. seems that validator not working.
maybe you have something similar?
@freel ,
Yes you've to add an error if all inputs are blank.
I think you don't understand my question. I have default auth function.
lets say: http://project28.dev/ru/login
ok there is by default E-Mail Address and Password fields. before this package integration if you pressing login and you leaving empty fields it returns that you need to enter email and so on.
now when I have this package working if i do that it not returning me errors.
Oh ok,
After installing the package everything should work normally.
Is the connection works when you login?
What you mean "Is the connection works when you login?" If I type correct login and password it connect me.
Sorry for my bad English, i'm french.
I don't know why the validator don't work with blank input when you add the package.
I don't have this problem.
I solved the locale problem by changing the middleware LaravelLocalizationRedirectFilter.php like this :
} else if ( $currentLocale !== $defaultLocale || !$hideDefaultLocale )
{
// If the current url does not contain any locale
// The system redirect the user to the very same url "localized"
// we use the current locale to redirect him
$redirection = app('laravellocalization')->getLocalizedURL(session('locale'),$request->path());
}
Please or to participate in this conversation.