document the ability to provide a selective magic-auth filter as a plugin plugin

This commit is contained in:
friendica 2013-04-08 20:57:36 -07:00
parent f5940b7ddb
commit 17870912e4

View File

@ -35,7 +35,6 @@ function magic_init(&$a) {
}
if(! $x) {
// Finger them if they've never been seen here before
@ -60,6 +59,9 @@ function magic_init(&$a) {
return;
}
// This is ready-made for a plugin that provides a blacklist or "ask me" before blindly authenticating.
// By default, we'll proceed without asking.
$arr = array(
'channel_id' => local_user(),
'xchan' => $x[0],