diff options
author | zeripath <art27@cantab.net> | 2021-02-16 22:37:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 23:37:20 +0100 |
commit | ad43b119a847fbb05d22caefa2602696773bb229 (patch) | |
tree | ac8d2f71ef6fa23a41e93236f673d59f96aee48f /modules | |
parent | 66a148e398c3c944e2b79187c09ef0bb7bdfdd5e (diff) | |
download | gitea-ad43b119a847fbb05d22caefa2602696773bb229.tar.gz gitea-ad43b119a847fbb05d22caefa2602696773bb229.zip |
Add Password Algorithm option to install page (#14701)
Add Password Algorithm option to install page
Fix #14674
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/forms/user_form.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/forms/user_form.go b/modules/forms/user_form.go index 07733baeba..2c065dc511 100644 --- a/modules/forms/user_form.go +++ b/modules/forms/user_form.go @@ -60,6 +60,8 @@ type InstallForm struct { DefaultEnableTimetracking bool NoReplyAddress string + PasswordAlgorithm string + AdminName string `binding:"OmitEmpty;AlphaDashDot;MaxSize(30)" locale:"install.admin_name"` AdminPasswd string `binding:"OmitEmpty;MaxSize(255)" locale:"install.admin_password"` AdminConfirmPasswd string |