diff --git a/application/config/cas-authentification-config-example.php b/application/config/cas-authentification-config-example.php index 3d453d4..453f39b 100644 --- a/application/config/cas-authentification-config-example.php +++ b/application/config/cas-authentification-config-example.php @@ -24,7 +24,7 @@ $phpcas_path = '../../source/'; /////////////////////////////////////// // Full Hostname of your CAS Server -$cas_host = 'cas.domain.fr'; +$cas_host = 'cas.univ-fcomte.fr'; // Context of the CAS Server $cas_context = 'cas'; // Port of your CAS server. Normally for a https server it's 443 diff --git a/application/include/controlleurs/authentification.php b/application/include/controlleurs/authentification.php new file mode 100644 index 0000000..7ef3784 --- /dev/null +++ b/application/include/controlleurs/authentification.php @@ -0,0 +1,27 @@ + \phpCAS::getUser()); \ No newline at end of file diff --git a/application/include/controlleurs/logout.php b/application/include/controlleurs/logout.php new file mode 100644 index 0000000..72e26be --- /dev/null +++ b/application/include/controlleurs/logout.php @@ -0,0 +1,4 @@ +This is appended to the master sidebar.

+@endsection + +@section('content') +

Authentification

+


+ Log out ? +
+ Bonjour, {{$login}} + +@endsection + diff --git a/application/include/vues/view/logout.blade.php b/application/include/vues/view/logout.blade.php new file mode 100644 index 0000000..2955f7e --- /dev/null +++ b/application/include/vues/view/logout.blade.php @@ -0,0 +1,14 @@ +@extends('body') + +@section('sidebar') + @parent +

This is appended to the master sidebar.

+@endsection + +@section('content') +

Logout

+


+ S'authentifier ? +
+ +@endsection \ No newline at end of file