prod setup

This commit is contained in:
Joey Kimsey
2025-01-14 05:09:01 -05:00
parent 9d53ddbd94
commit 58b4ffe3af
29 changed files with 772 additions and 35 deletions

View File

@ -31,6 +31,7 @@ class Login extends ApiController {
Template::addHeader( 'Content-Type: application/json; charset=utf-8' );
}
/**
public function index() {
if ( ! Forms::check( 'apiLogin' ) ) {
$responseType = 'error';
@ -47,4 +48,5 @@ class Login extends ApiController {
$token = self::$tokens->findOrCreateUserToken( $user->ID, true );
return Views::view( 'api.response', ['response' => json_encode( [ $responseType => $token ], true )]);
}
*/
}