Skip to content

Commit 49a9b2e

Browse files
committed
can change avatar -> provide avatar
1 parent 5c702ed commit 49a9b2e

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Name | Description | Details
6868
**Password** | Password hash column. | Mandatory for user backend.
6969
**Display name** | Display name column. | Optional.
7070
**Active** | Flag indicating if user can log in. | Optional.<br/>Default: true.
71-
**Can change avatar** | Flag indicating if user can change its avatar. | Optional.<br/>Default: false.
71+
**Provide avatar** | Flag indicating if user can change its avatar. | Optional.<br/>Default: false.
7272
**Salt** | Salt which is appended to password when checking or changing the password. | Optional.
7373

7474
#### Group table
@@ -108,13 +108,13 @@ If you don't have any database model yet you can use below tables (MySQL):
108108
```
109109
CREATE TABLE sql_user
110110
(
111-
username VARCHAR(16) PRIMARY KEY,
112-
display_name TEXT NULL,
113-
email TEXT NULL,
114-
home TEXT NULL,
115-
password TEXT NOT NULL,
116-
active TINYINT(1) NOT NULL DEFAULT '1',
117-
can_change_avatar BOOLEAN NOT NULL DEFAULT FALSE
111+
username VARCHAR(16) PRIMARY KEY,
112+
display_name TEXT NULL,
113+
email TEXT NULL,
114+
home TEXT NULL,
115+
password TEXT NOT NULL,
116+
active TINYINT(1) NOT NULL DEFAULT '1',
117+
provide_avatar BOOLEAN NOT NULL DEFAULT FALSE
118118
);
119119
120120
CREATE TABLE sql_group

templates/admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function print_select_options(
148148
print_text_input($l, "db-table-user-column-password", "Password", $_['db.table.user.column.password']);
149149
print_text_input($l, "db-table-user-column-name", "Display name", $_['db.table.user.column.name']);
150150
print_text_input($l, "db-table-user-column-active", "Active", $_['db.table.user.column.active']);
151-
print_text_input($l, "db-table-user-column-avatar", "Can change avatar", $_['db.table.user.column.avatar']);
151+
print_text_input($l, "db-table-user-column-avatar", "Provide avatar", $_['db.table.user.column.avatar']);
152152
print_text_input($l, "db-table-user-column-salt", "Salt", $_['db.table.user.column.salt']); ?>
153153
</fieldset>
154154
</div>

0 commit comments

Comments
 (0)