Merge branch 'develop'
This commit is contained in:
commit
a6e822ec64
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "swaf",
|
||||
"version": "0.23.3",
|
||||
"version": "0.23.4",
|
||||
"description": "Structure Web Application Framework.",
|
||||
"repository": "https://eternae.ink/arisu/swaf",
|
||||
"author": "Alice Gaudon <alice@gaudon.pro>",
|
||||
|
@ -5,7 +5,7 @@ import Migration from "../../db/Migration";
|
||||
*/
|
||||
export default class DropNameFromUsers extends Migration {
|
||||
public async install(): Promise<void> {
|
||||
await this.query('ALTER TABLE users DROP COLUMN name');
|
||||
await this.query('ALTER TABLE users DROP COLUMN IF EXISTS name');
|
||||
}
|
||||
|
||||
public async rollback(): Promise<void> {
|
||||
|
@ -7,7 +7,7 @@
|
||||
{% block body %}
|
||||
<div class="container">
|
||||
<div class="panel">
|
||||
<h2><i class="fas fa-user"></i> Personal information</h2>
|
||||
<h2><i data-feather="user"></i> Personal information</h2>
|
||||
|
||||
{% if display_email_warning and emails | length <= 0 %}
|
||||
{{ macros.message('warning', 'To avoid losing access to your account, please add an email address.') }}
|
||||
|
@ -37,7 +37,7 @@
|
||||
{% set validation = validation[name] if validation[name] or null %}
|
||||
{% set previousFormData = _locals.previousFormData() %}
|
||||
{% set value = previousFormData[name] or value or validation.value or '' %}
|
||||
{% set prefix = _locals.getFormPrefix() | default('no-') %}
|
||||
{% set prefix = _locals.getFormPrefix() | default('') %}
|
||||
|
||||
{% if type == 'hidden' %}
|
||||
{% if validation %}
|
||||
|
Loading…
Reference in New Issue
Block a user