feat: add registration flag
This commit is contained in:
parent
d80274712d
commit
45073bb1a4
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
debug = true
|
debug = true
|
||||||
|
allow_registration = true
|
||||||
# source code of your copy of pages server.
|
# source code of your copy of pages server.
|
||||||
source_code = "https://github.com/realaravinth/pages"
|
source_code = "https://github.com/realaravinth/pages"
|
||||||
|
|
||||||
|
|
|
@ -76,6 +76,7 @@ pub struct Database {
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize)]
|
#[derive(Debug, Clone, Deserialize)]
|
||||||
pub struct Settings {
|
pub struct Settings {
|
||||||
|
pub allow_registration: bool,
|
||||||
pub debug: bool,
|
pub debug: bool,
|
||||||
pub server: Server,
|
pub server: Server,
|
||||||
pub source_code: String,
|
pub source_code: String,
|
||||||
|
|
Loading…
Reference in a new issue