change remoteauth endpoint path

This commit is contained in:
fabrixxm 2015-04-12 08:53:30 +02:00
parent 73248f7dda
commit a0adf8c6a2
1 changed files with 2 additions and 2 deletions

View File

@ -2680,7 +2680,7 @@
* c_url: url of remote contact to auth to
* url: string, url to redirect after auth
*/
function api_dfrn_remoteauth(&$a) {
function api_friendica_remoteauth(&$a) {
$url = ((x($_GET,'url')) ? $_GET['url'] : '');
$c_url = ((x($_GET,'c_url')) ? $_GET['c_url'] : '');
@ -2729,7 +2729,7 @@
. '&dfrn_version=' . DFRN_PROTOCOL_VERSION
. '&type=profile&sec=' . $sec . $dest . $quiet );
}
api_register_func('api/dfrn/remoteauth', 'api_dfrn_remoteauth', true);
api_register_func('api/friendica/remoteauth', 'api_friendica_remoteauth', true);