feat: Add bcrypt encrypted password type (#386)

* Add loading and countdown status to the verification code sending button

* Add bcrypt encrypted password type

* Revert "Add loading and countdown status to the verification code sending button"

This reverts commit 782b9e229a.

* Update bcrypt.go

* Update go.sum
This commit is contained in:
jianmaikj
2021-12-22 13:56:32 +08:00
committed by Yang Luo
parent 7cfece3019
commit d6c2d0f3e8
11 changed files with 58 additions and 18 deletions

View File

@ -153,7 +153,7 @@ class OrganizationEditPage extends React.Component {
<Col span={22} >
<Select virtual={false} style={{width: '100%'}} value={this.state.organization.passwordType} onChange={(value => {this.updateOrganizationField('passwordType', value);})}>
{
['plain', 'salt', 'md5-salt']
['plain', 'salt', 'md5-salt', 'bcrypt']
.map((item, index) => <Option key={index} value={item}>{item}</Option>)
}
</Select>