-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from janglapuk/master
Update pengaturan nama sekolah dan override Myth:Auth auth config
- Loading branch information
Showing
8 changed files
with
97 additions
and
48 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
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,17 @@ | ||
<?php | ||
|
||
namespace Config; | ||
|
||
use CodeIgniter\Config\BaseConfig; | ||
|
||
class AbsensiSekolah extends BaseConfig | ||
{ | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Nama Sekolah | ||
* -------------------------------------------------------------------------- | ||
* | ||
* Pengaturan untuk nama sekolah | ||
*/ | ||
public string $namaSekolah = 'SMK 1 Indonesia'; | ||
} |
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,51 @@ | ||
<?php | ||
|
||
namespace Config; | ||
|
||
use Myth\Auth\Config\Auth as MythAuthConfig; | ||
|
||
class Auth extends MythAuthConfig | ||
{ | ||
/** | ||
* -------------------------------------------------------------------- | ||
* Require Confirmation Registration via Email | ||
* -------------------------------------------------------------------- | ||
* | ||
* When enabled, every registered user will receive an email message | ||
* with an activation link to confirm the account. | ||
* | ||
* @var string|null Name of the ActivatorInterface class | ||
*/ | ||
public $requireActivation = null; | ||
// public $requireActivation = 'Myth\Auth\Authentication\Activators\EmailActivator'; | ||
|
||
/** | ||
* -------------------------------------------------------------------- | ||
* Allow Password Reset via Email | ||
* -------------------------------------------------------------------- | ||
* | ||
* When enabled, users will have the option to reset their password | ||
* via the specified Resetter. Default setting is email. | ||
* | ||
* @var string|null Name of the ResetterInterface class | ||
*/ | ||
public $activeResetter = null; | ||
// public $activeResetter = 'Myth\Auth\Authentication\Resetters\EmailResetter'; | ||
|
||
/** | ||
* -------------------------------------------------------------------- | ||
* Views used by Auth Controllers | ||
* -------------------------------------------------------------------- | ||
* | ||
* @var array | ||
*/ | ||
public $views = [ | ||
'login' => '\App\Views\admin\login', | ||
// 'login' => 'Myth\Auth\Views\login', | ||
'register' => 'Myth\Auth\Views\register', | ||
'forgot' => 'Myth\Auth\Views\forgot', | ||
'reset' => 'Myth\Auth\Views\reset', | ||
'emailForgot' => 'Myth\Auth\Views\emails\forgot', | ||
'emailActivation' => 'Myth\Auth\Views\emails\activation', | ||
]; | ||
} |
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
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
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
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
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