bugfix
This commit is contained in:
parent
2f6341e452
commit
d1a2b29af4
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
require 'api.php';
|
||||
|
||||
$auth = new PHP_API_AUTH(array(
|
||||
'secret'=>'someVeryLongPassPhrase',
|
||||
'secret'=>'someVeryLongPassPhraseChangeMe',
|
||||
'authenticator'=>function($user,$pass){ $_SESSION['user']=($user=='admin' && $pass=='admin'); }
|
||||
));
|
||||
$auth->executeCommand();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue