diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-24 17:06:02 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-24 17:17:07 +0200 |
commit | 1aa8399915bc6148fab3ad8e3eae736e9a135c09 (patch) | |
tree | c7d8843e7b311314e8c3d3f56b146a43d32b2b56 /apps/user_openid/user.php | |
parent | 2772c66259b78cb4fdf6204e7d2fd452aed63808 (diff) | |
download | nextcloud-server-1aa8399915bc6148fab3ad8e3eae736e9a135c09.tar.gz nextcloud-server-1aa8399915bc6148fab3ad8e3eae736e9a135c09.zip |
show error on openid request page when no user is selected
Diffstat (limited to 'apps/user_openid/user.php')
-rw-r--r-- | apps/user_openid/user.php | 4 |
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'; |