document the ability to provide a selective magic-auth filter as a plugin plugin
This commit is contained in:
parent
f5940b7ddb
commit
17870912e4
@ -35,7 +35,6 @@ function magic_init(&$a) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(! $x) {
|
if(! $x) {
|
||||||
|
|
||||||
// Finger them if they've never been seen here before
|
// Finger them if they've never been seen here before
|
||||||
@ -60,6 +59,9 @@ function magic_init(&$a) {
|
|||||||
return;
|
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(
|
$arr = array(
|
||||||
'channel_id' => local_user(),
|
'channel_id' => local_user(),
|
||||||
'xchan' => $x[0],
|
'xchan' => $x[0],
|
||||||
|
Reference in New Issue
Block a user