Home Arrow Icon Knowledge base Arrow Icon Global Arrow Icon What are the steps to disable authentication in MoonShine


What are the steps to disable authentication in MoonShine


To disable authentication in MoonShine, follow these steps:

1. Open the configuration file

Open the `config/moonshine.php` configuration file.

2. Locate the 'auth' section

Find the 'auth' section in the configuration file.

3. Set 'enable' to false

Set the 'enable' option to false to disable authentication:

php
'auth' => [
    'enable' => false,
    // ...
],

By setting 'enable' to false, the authentication system will be disabled, allowing access to the MoonShine admin panel for all users without requiring authentication[1][2].

4. Save the changes

Save the changes made to the configuration file.

That's it! With these steps, you have successfully disabled authentication in your MoonShine admin panel. All users will now be able to access the panel without needing to authenticate.

Citations:
[1] https://moonshine-laravel.com/docs/resource/advanced/advanced-authentication
[2] https://moonshine.cutcode.dev/section/advanced-authentication
[3] https://moonshine-laravel.com/docs/resource/getting-started/configuration
[4] https://www.pcrisk.com/removal-guides/25309-moonshine-malware-android
[5] https://www.youtube.com/watch?v=fCGEd87ieEQ
[6] https://github.com/SWEET1S/moonshine-database
[7] https://www.reddit.com/r/MoonlightStreaming/comments/12xrett/any_way_to_skip_windows_login_password/
[8] https://github.com/topics/moonshine?o=asc&s=forks