Replies: 4 comments 6 replies
-
[$domain, $username] = explode('\\', $_SERVER['auth_user']); Does this answer your question? |
Beta Was this translation helpful? Give feedback.
-
Yep! But which class should I put it ? Thank you. |
Beta Was this translation helpful? Give feedback.
-
I'd say wherever you need it... I'm not exactly sure what you're attempting to implement, I'd need more information. |
Beta Was this translation helpful? Give feedback.
-
I think the WindowsAuthenticate is not loading because when I do this I got error Class 'App\Providers\WindowsAuthenticate' not found // app/Providers/AuthServiceProvider.php /**
|
Beta Was this translation helpful? Give feedback.
-
The auth_user or remote_user variables returns something like 'domain\username'. That's way I can't use the WindowsAuthenticate. Is there anyway to extract username from these variables?
Beta Was this translation helpful? Give feedback.
All reactions