-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rotimi
committed
Dec 6, 2023
1 parent
f7a3241
commit 7273509
Showing
2 changed files
with
44 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tests/fake-smvc-app-root/src/controllers/ControllerWithPublicDoLogin.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
|
||
namespace SMVCTools\Tests\TestObjects; | ||
|
||
/** | ||
* Description of ControllerWithPublicDoLogin | ||
* | ||
* @author rotimi | ||
*/ | ||
class ControllerWithPublicDoLogin extends \SlimMvcTools\Controllers\BaseController { | ||
|
||
public function doLoginPublic(\Vespula\Auth\Auth $auth, array $credentials, string &$success_redirect_path): string { | ||
|
||
return $this->doLogin($auth, $credentials, $success_redirect_path); | ||
} | ||
} |