mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-09 05:48:20 +00:00
snapadmin.enabled
now defaults to false (#30)
This commit is contained in:
parent
733c22ba13
commit
630be403c7
@ -46,7 +46,7 @@ import tech.ailef.snapadmin.internal.InternalDbAdminConfiguration;
|
|||||||
* H2 database which is used by SnapAdmin to store user
|
* H2 database which is used by SnapAdmin to store user
|
||||||
* settings and other information like operations history.
|
* settings and other information like operations history.
|
||||||
*/
|
*/
|
||||||
@ConditionalOnProperty(name = "snapadmin.enabled", matchIfMissing = true)
|
@ConditionalOnProperty(name = "snapadmin.enabled", matchIfMissing = false)
|
||||||
@ComponentScan
|
@ComponentScan
|
||||||
@EnableConfigurationProperties(SnapAdminProperties.class)
|
@EnableConfigurationProperties(SnapAdminProperties.class)
|
||||||
@Configuration
|
@Configuration
|
||||||
|
@ -30,7 +30,7 @@ public class SnapAdminProperties {
|
|||||||
/**
|
/**
|
||||||
* Whether SnapAdmin is enabled.
|
* Whether SnapAdmin is enabled.
|
||||||
*/
|
*/
|
||||||
public boolean enabled = true;
|
public boolean enabled = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The prefix that is prepended to all routes registered by SnapAdmin.
|
* The prefix that is prepended to all routes registered by SnapAdmin.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user