summaryrefslogtreecommitdiffstats
path: root/go.sum
Commit message (Expand)AuthorAgeFilesLines
* Refactor to use urfave/cli/v2 (#25959)wxiaoguang2023-07-211-3/+4
* Remove nfnt/resize and oliamb/cutter (#25999)harryzcy2023-07-201-4/+0
* Bump github.com/golang-jwt/jwt to v5 (#25975)harryzcy2023-07-191-2/+4
* Disallow dangerous url schemes (#25960)KN4CK3R2023-07-181-2/+2
* Upgrade go dependencies (#25819)harryzcy2023-07-141-261/+226
* Fix wrong warn messages in migration steps (#25475)Lunny Xiao2023-06-241-2/+2
* Support changing labels of Actions runner without re-registration (#24806)sillyguodong2023-06-131-2/+2
* Update github.com/google/go-github to v53 (#25157)Yevhen Pavlov2023-06-091-2/+2
* Update github.com/google/go-github to v52 (#24004)65432023-05-311-8/+10
* Allow all URL schemes in Markdown links by default (#24805)Yarden Shoham2023-05-191-4/+4
* Add RPM registry (#23380)KN4CK3R2023-05-051-0/+8
* Bump golang deps (#24533)techknowlogick2023-05-051-190/+183
* Add Debian package registry (#24426)KN4CK3R2023-05-021-0/+2
* Revert "Add Debian package registry" (#24412)Yarden Shoham2023-04-281-2/+0
* Add Debian package registry (#22854)KN4CK3R2023-04-281-0/+2
* Upgrade act (#24298)Zettat1232023-04-241-2/+2
* Support upload `outputs` and use `needs` context on Actions (#24230)Jason Song2023-04-221-2/+2
* Allow `webp` images as avatars (#24248)JakobDev2023-04-211-2/+8
* Update redis library to support redis v7 (#24114)techknowlogick2023-04-131-2/+15
* Update github.com/google/go-github to v51 (#23946)harryzcy2023-04-081-10/+10
* Drop "unrolled/render" package (#23965)wxiaoguang2023-04-081-2/+0
* Do not crash when parsing an invalid workflow file (#23972)Jason Song2023-04-071-2/+2
* Fix checks for `needs` in Actions (#23789)Jason Song2023-03-301-2/+2
* Add meilisearch support (#23136)techknowlogick2023-03-281-2/+24
* Update act (#23512)Jason Song2023-03-161-10/+8
* Update go.mod dependencies (#23126)zeripath2023-02-241-287/+96
* Bump go.etcd.io/bbolt and blevesearch deps (#23062)WÁNG Xuěruì2023-02-241-13/+10
* Remove all package data after tests (#22984)KN4CK3R2023-02-231-2/+2
* Bump golang.org/x/net from 0.4.0 to 0.7.0 (#22980)dependabot[bot]2023-02-201-6/+7
* Use import of OCI structs (#22765)KN4CK3R2023-02-061-0/+4
* Add more events details supports for actions (#22680)Lunny Xiao2023-02-011-2/+2
* Implement actions (#21937)Jason Song2023-01-311-2/+22
* Consume hcaptcha and pwn deps (#22610)John Olheiser2023-01-291-4/+0
* Add support for incoming emails (#22056)KN4CK3R2023-01-141-2/+22
* Update golang deps (#22410)techknowlogick2023-01-121-107/+123
* Replace deprecated Webauthn library (#22400)techknowlogick2023-01-111-388/+25
* Remove satori/go.uuid (#22375)Jason Song2023-01-091-1/+0
* Upgrade go-chi to v5.0.8 (#22304)Lunny Xiao2023-01-011-2/+2
* Update bleve and zapx to fix unaligned atomic (#22031)zeripath2022-12-211-25/+20
* verify nodeinfo response by schema (#22137)Meisam2022-12-171-0/+6
* Update xorm (#22094)KN4CK3R2022-12-101-6/+6
* Update gitea-vet to check FSFE REUSE (#22004)Jason Song2022-12-021-2/+2
* Update chroma to v2.4.0 (#22000)silverwind2022-12-011-2/+4
* Upgrade golang.org/x/crypto (#21792)Gusted2022-11-121-9/+9
* Update binding to fix bugs (#21556)Lunny Xiao2022-10-231-2/+2
* Bump `golang.org/x/text` (#21412)Gusted2022-10-111-1/+2
* Update to go-enry v2.8.3 (#21360)Clark Boylan2022-10-061-2/+2
* Update Golang deps (#21304)techknowlogick2022-10-011-68/+78
* Update bluemonday (#21281)65432022-09-271-3/+4
* Upgrade chroma to v2.3.0 (#21259)silverwind2022-09-261-7/+9
option value='backport/47954/stable29'>backport/47954/stable29 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/apps/user_openid/user.php
blob: 59220aedc569fa7b29c5364b72c6fe6b85caefb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php

/**
* ownCloud
*
* @author Robin Appelman
* @copyright 2011 Robin Appelman icewind1991@gmail.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this library.  If not, see <http://www.gnu.org/licenses/>.
*
*/

$USERNAME=substr($_SERVER["REQUEST_URI"],strpos($_SERVER["REQUEST_URI"],'.php/')+5);
if(strpos($USERNAME,'?')!==false){
	$USERNAME=substr($USERNAME,0,strpos($USERNAME,'?'));
}
if(substr($USERNAME,-1,1)=='/'){//openid sometimes add slashes to the username
	$USERNAME=substr($USERNAME,0,-1);
}


if($USERNAME=='' and isset($_SERVER['PHP_AUTH_USER'])){
	$USERNAME=$_SERVER['PHP_AUTH_USER'];
}

$RUNTIME_NOAPPS=true;
$RUNTIME_NOAPPS=false;
require_once '../../lib/base.php';
OC_Util::checkAppEnabled('user_openid');

if(!OC_User::userExists($USERNAME)){
	OCP\Util::writeLog('user_openid',$USERNAME.' doesn\'t exist',OCP\Util::WARN);
	$USERNAME='';
}
$IDENTITY=OC_Helper::linkToAbsolute( "user_openid", "user.php" ).'/'.$USERNAME;

require_once 'phpmyid.php';


?>