aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-27 20:20:18 +0000
committerMario <mario@mariovavti.com>2024-01-27 20:20:18 +0000
commit3ad1cab00654993dc7184c016d0529c1e951d652 (patch)
treec47bb38883a103b1346e109acaeb767a25ed1bb9
parentb806a3ccc2663655dd189f689706c199b28e58b5 (diff)
parent8cd9fff26a8789015b3da2b249b37f5c184d5099 (diff)
downloadvolse-hubzilla-3ad1cab00654993dc7184c016d0529c1e951d652.tar.gz
volse-hubzilla-3ad1cab00654993dc7184c016d0529c1e951d652.tar.bz2
volse-hubzilla-3ad1cab00654993dc7184c016d0529c1e951d652.zip
Merge branch 'doc-updates' into 'dev'
Doc updates See merge request hubzilla/core!2092
-rw-r--r--doc/admin/administrator_guide.md5
-rw-r--r--doc/hook/check_account_password.bb16
2 files changed, 20 insertions, 1 deletions
diff --git a/doc/admin/administrator_guide.md b/doc/admin/administrator_guide.md
index 0cc6b4c0f..bf4dc7355 100644
--- a/doc/admin/administrator_guide.md
+++ b/doc/admin/administrator_guide.md
@@ -100,7 +100,10 @@ There are several ways to deploy a new hub.
* some form of email server or email gateway such that PHP mail() works.
-* Mysql 5.x or MariaDB or postgres database server.
+* A supported database server. The supported databases are:
+ - Mysql version 8.0.22 or later
+ - MariaDB version 10.4 or later
+ - PostgreSQL version 12 or later
* ability to schedule jobs with cron.
diff --git a/doc/hook/check_account_password.bb b/doc/hook/check_account_password.bb
index 53562ec6e..ce5202f48 100644
--- a/doc/hook/check_account_password.bb
+++ b/doc/hook/check_account_password.bb
@@ -1 +1,17 @@
[h2]check_account_password[/h2]
+Use this hook to provide additional checks or validations of the password given when
+registering and account.
+[h3]Arguments:[/h3]
+[code=php]array(
+ 'password' => $password, // The password to check
+ 'result' => array(
+ 'error' => false,
+ 'message' => ''
+ )
+)[/code]
+[h3]Results:[/h3]
+For a failed check set the [code]error[/code] member of the [code]result[/code]
+array to [code]true[/code] and the [code]message[/code] to a short message
+explaining why it failed.
+
+Otherwise, leave it alone.