can change avatar -> provide avatar
This commit is contained in:
@@ -68,7 +68,7 @@ Name | Description | Details
|
|||||||
**Password** | Password hash column. | Mandatory for user backend.
|
**Password** | Password hash column. | Mandatory for user backend.
|
||||||
**Display name** | Display name column. | Optional.
|
**Display name** | Display name column. | Optional.
|
||||||
**Active** | Flag indicating if user can log in. | Optional.<br/>Default: true.
|
**Active** | Flag indicating if user can log in. | Optional.<br/>Default: true.
|
||||||
**Can change avatar** | Flag indicating if user can change its avatar. | Optional.<br/>Default: false.
|
**Provide avatar** | Flag indicating if user can change its avatar. | Optional.<br/>Default: false.
|
||||||
**Salt** | Salt which is appended to password when checking or changing the password. | Optional.
|
**Salt** | Salt which is appended to password when checking or changing the password. | Optional.
|
||||||
|
|
||||||
#### Group table
|
#### Group table
|
||||||
@@ -114,7 +114,7 @@ CREATE TABLE sql_user
|
|||||||
home TEXT NULL,
|
home TEXT NULL,
|
||||||
password TEXT NOT NULL,
|
password TEXT NOT NULL,
|
||||||
active TINYINT(1) NOT NULL DEFAULT '1',
|
active TINYINT(1) NOT NULL DEFAULT '1',
|
||||||
can_change_avatar BOOLEAN NOT NULL DEFAULT FALSE
|
provide_avatar BOOLEAN NOT NULL DEFAULT FALSE
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE sql_group
|
CREATE TABLE sql_group
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ function print_select_options(
|
|||||||
print_text_input($l, "db-table-user-column-password", "Password", $_['db.table.user.column.password']);
|
print_text_input($l, "db-table-user-column-password", "Password", $_['db.table.user.column.password']);
|
||||||
print_text_input($l, "db-table-user-column-name", "Display name", $_['db.table.user.column.name']);
|
print_text_input($l, "db-table-user-column-name", "Display name", $_['db.table.user.column.name']);
|
||||||
print_text_input($l, "db-table-user-column-active", "Active", $_['db.table.user.column.active']);
|
print_text_input($l, "db-table-user-column-active", "Active", $_['db.table.user.column.active']);
|
||||||
print_text_input($l, "db-table-user-column-avatar", "Can change avatar", $_['db.table.user.column.avatar']);
|
print_text_input($l, "db-table-user-column-avatar", "Provide avatar", $_['db.table.user.column.avatar']);
|
||||||
print_text_input($l, "db-table-user-column-salt", "Salt", $_['db.table.user.column.salt']); ?>
|
print_text_input($l, "db-table-user-column-salt", "Salt", $_['db.table.user.column.salt']); ?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user