Skip to content

Commit

Permalink
Merge pull request #11 from zefy/bugfix/readme-fix
Browse files Browse the repository at this point in the history
Bugfix/readme fix
  • Loading branch information
zefy committed Mar 16, 2018
2 parents cbd2488 + c96bec1 commit 3f9e32c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Simple PHP SSO integration for Laravel

[![Latest Version on Packagist][ico-version]][https://packagist.org/packages/zefy/laravel-sso]
[![Software License][ico-license]](LICENSE.md)
[![Quality Score][ico-code-quality]][https://scrutinizer-ci.com/g/zefy/laravel-sso]
[![Total Downloads][ico-downloads]][https://packagist.org/packages/zefy/laravel-sso]
[![Latest Stable Version](https://poser.pugx.org/zefy/laravel-sso/v/stable)](https://packagist.org/packages/zefy/laravel-sso)
[![Total Downloads](https://poser.pugx.org/zefy/laravel-sso/downloads)](https://packagist.org/packages/zefy/laravel-sso)
[![Latest Unstable Version](https://poser.pugx.org/zefy/laravel-sso/v/unstable)](https://packagist.org/packages/zefy/laravel-sso)
[![License](https://poser.pugx.org/zefy/laravel-sso/license)](https://packagist.org/packages/zefy/laravel-sso)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/zefy/laravel-sso/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/zefy/laravel-sso/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/zefy/laravel-sso/badges/build.png?b=master)](https://scrutinizer-ci.com/g/zefy/laravel-sso/build-status/master)
[![Code Intelligence Status](https://scrutinizer-ci.com/g/zefy/laravel-sso/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)

<p align="center"><img src="https://laravel.com/assets/img/components/logo-laravel.svg"></p>

Expand Down
4 changes: 2 additions & 2 deletions src/LaravelSSOServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function getUserInfo(string $username)
*
* @param array|object $user Can be user object or array.
*
* @return array|object
* @return array|object|UserResource
*/
protected function returnUserInfo($user)
{
Expand Down Expand Up @@ -221,6 +221,6 @@ protected function saveBrokerSessionData(string $brokerSessionId, string $sessio
*/
protected function getBrokerSessionData(string $brokerSessionId)
{
return Cache::get('broker_session:' . $brokerSessionId, null);
return Cache::get('broker_session:' . $brokerSessionId);
}
}

0 comments on commit 3f9e32c

Please sign in to comment.