aboutsummaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2020-06-14 19:50:09 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-14 19:50:09 +0200
commitcaeb660f29d13db62d5381c262aa03e12f201ea2 (patch)
treebbe593de7c584f15c67c1e4c96f0852c2c5637ed /app/install.php
parent6edbeaaf6add5e6f60d949301a05ef42fbdc6afd (diff)
Add a way to disable/enable users (#3056)
If you want to block users without deleting their account, you can now disable them from the interface.
Diffstat (limited to 'app/install.php')
-rw-r--r--app/install.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/install.php b/app/install.php
index ddb9d7eaa..cf1ac2c61 100644
--- a/app/install.php
+++ b/app/install.php
@@ -224,6 +224,7 @@ function saveStep3() {
[
'language' => $_SESSION['language'],
'is_admin' => true,
+ 'enabled' => true,
]
);
} catch (Exception $e) {