2016-10-04 15:27:49 +00:00
|
|
|
<?php
|
|
|
|
|
2018-05-23 10:14:20 +00:00
|
|
|
class Supplant extends Vn\Web\JsonRequest {
|
2016-10-04 15:27:49 +00:00
|
|
|
const PARAMS = ['supplantUser'];
|
|
|
|
|
2018-05-23 10:14:20 +00:00
|
|
|
function run($db) {
|
|
|
|
return $this->service->createToken($_REQUEST['supplantUser']);
|
2016-10-04 15:27:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|