Closed mvrhov closed 8 years ago
Hi, thanks for this PR. I wanted to do it myself by didn't know how to make the TokenStorage optional (the on-invalid="null" clause). Great solution!
Please just don't use if (null == $this->tokenStorage) { return; } clause and place the same (but negative) condition to the line 31 to extend the if ($this->storeUsernameInServerVariable) condition.
Thanks a lot!
I have a project which doesn't need a security component, so the security is not configured, this in turn disables most services associated with it.