Skip to content

implement in custom login, Controller, and Model. #727

Closed

Description

@raiden909

Hi everyone i hope all of you be healthy, So i want to make the login authentication using LDAP and the problem is creating the own model, Controller. Okay here's my own route:

Action Login / Logout

Route::post('/doLogin','AdminController@doLogin');
Route::get('/doLogout','AdminController@doLogout');
Route::get('/','AdminController@index');
Route::get('/menu','AdminController@menu');

here's my own blade:

@include('head')


webGIS
{!! Form::open(['method' => 'post', 'action' => 'AdminController@doLogin', 'class' => 'form-horizontal']) !!}
{{ $errors->first('username') }}
{{ $errors->first('password') }} {{ Session::get('message') }}
{!! Form::submit('Log In', ['class' => 'btn btn-info btn-block']) !!}
{!! Form::close() !!}
© 2016 - {{ date("Y") }} PSG
@include('foot')

the problem is i dont how to connect the ldap from .env or perhaps how to an Active Directory ldap model and the controller in laravel so i can autenticate the ldap very well. Your Assistance is really helpful

Thank you guys

Activity

  1. locked and limited conversation to collaborators on Jul 9, 2024
  2. converted this issue into a discussion #728 on Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions