test98123456
test98123456
config/auth.php: 'providers' => [ 'users' => [ 'driver' => 'eloquent', 'model' => App\User::class, ], should i modify driver?
now,i have add one guard and one provider, 'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ], 'api' => [ 'driver' => 'token', 'provider' => 'users',...
> why exactly do you want LDAP and MySQL, usually, LDAP will sync any data you want to mysql, so it's only used for relevant calls and eloquent just uses...
@sachaw Different users exist in mysql and ldap. user a,b,c stores in mysql user 1,2,3 store in ldap exactly in login page i add user_type field ,which user stores in...
now i use another solution to solve this problem,my login logic as follows: public function doLogin(Request $r) { //users store in mysql if ($r->input('user_type') === "1") { //check user password...
> Hi @test98123456, > > I would _really_ suggest against the code you posted using the `session()` helper to track logged in users in your own custom manor and stick...
我用了比较笨的方法,用isColor函数判断了钉钉的登录页,如果出现了那个颜色就让脚本执行登录去了,/尴尬
云上肯定不支持,不用想了
I had the same problem,and i want to know when to fix it, thanks~~ @Qmando
I've got this same issue when i configure adldap step by step as [auth.md](https://github.com/Adldap2/Adldap2-Laravel/blob/master/docs/auth.md) the storage/logs seems that works fine,but when i auth success, redirect to login page loopless