diff --git a/db/services.php b/db/services.php index f9c2744..7231adc 100644 --- a/db/services.php +++ b/db/services.php @@ -28,7 +28,8 @@ $functions = array( 'methodname' => 'request_login_url', 'classpath' => 'auth/userkey/externallib.php', 'description' => 'Return one time key based login URL', - 'type' => 'read', + 'type' => 'write', + 'capabilities' => 'auth/userkey:generatekey', ) );