LeonardoRM / owncloud-roundcube

OwnCloud app to integrate RoundCube Webmail
GNU Affero General Public License v3.0
5 stars 14 forks source link

fix AuthHelper::getUserEmail email validity check #11

Closed Plaristote closed 3 years ago

Plaristote commented 3 years ago

As strpos returns a numerical value when the requested pattern has been found, getUserEmail in the current state of things will always return the owncloud username. According to #4, this isn't the intented behaviour. The following PR should fix that.