summaryrefslogtreecommitdiffstats
path: root/apps/user_openid/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_openid/user.php')
-rw-r--r--apps/user_openid/user.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/user_openid/user.php b/apps/user_openid/user.php
index 9ca1fd47c92..2199e5f9e58 100644
--- a/apps/user_openid/user.php
+++ b/apps/user_openid/user.php
@@ -28,6 +28,10 @@ if(strpos($USERNAME,'?')){
require_once '../../lib/base.php';
+if(!OC_USER::userExists($USERNAME)){
+ $USERNAME='';
+}
+
require_once 'phpmyid.php';