diff options
| author | André Noack <noack@data-quest.de> | 2024-01-19 15:01:50 +0000 |
|---|---|---|
| committer | André Noack <noack@data-quest.de> | 2024-01-19 15:01:50 +0000 |
| commit | 9a8dea57f09fbc7abfaeaa52cffb8bdbfada7007 (patch) | |
| tree | 172ab63143d3531a970713d77ca6edb816108273 /db | |
| parent | f08b210916d91afc38f663eeff70c0689e4c9362 (diff) | |
Resolve #3605 "Barriere in der Nutzung des Login-Formulars"
Closes #3605
Merge request studip/studip!2531
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrations/5.5.16_add_tooltip_fields_for_login.php | 26 | ||||
| -rw-r--r-- | db/migrations/5.5.18_add_login_faq_config.php | 4 |
2 files changed, 4 insertions, 26 deletions
diff --git a/db/migrations/5.5.16_add_tooltip_fields_for_login.php b/db/migrations/5.5.16_add_tooltip_fields_for_login.php index f4d536b..a375b3f 100644 --- a/db/migrations/5.5.16_add_tooltip_fields_for_login.php +++ b/db/migrations/5.5.16_add_tooltip_fields_for_login.php @@ -15,7 +15,7 @@ class AddTooltipFieldsForLogin extends Migration $statement = DBManager::get()->prepare($query); $statement->execute([ 'name' => 'USERNAME_TOOLTIP_TEXT', - 'value' => 'Geben Sie hier Ihren Stud.IP-Benutzernamen ein.', + 'value' => '', 'type' => 'i18n', 'section' => 'Loginseite', 'range' => 'global', @@ -24,31 +24,13 @@ class AddTooltipFieldsForLogin extends Migration $statement->execute([ 'name' => 'PASSWORD_TOOLTIP_TEXT', - 'value' => 'Geben Sie hier Ihr Stud.IP-Passwort ein. Achten Sie bei der Eingabe auf Groß- und Kleinschreibung.', + 'value' => '', 'type' => 'i18n', 'section' => 'Loginseite', 'range' => 'global', 'description' => 'Text für den Tooltip des Benutzernamens auf der Loginseite' ]); - $statement->execute([ - 'name' => 'USERNAME_TOOLTIP_ACTIVATED', - 'value' => '1', - 'type' => 'boolean', - 'section' => 'Loginseite', - 'range' => 'global', - 'description' => 'Soll der Tooltip beim Benutzernamen auf der Loginseite sichtbar sein?' - ]); - - $statement->execute([ - 'name' => 'PASSWORD_TOOLTIP_ACTIVATED', - 'value' => '1', - 'type' => 'boolean', - 'section' => 'Loginseite', - 'range' => 'global', - 'description' => 'Soll der Tooltip beim Passwort auf der Loginseite sichtbar sein?' - ]); - } public function down() @@ -62,9 +44,7 @@ class AddTooltipFieldsForLogin extends Migration AND `object_id` = MD5(`config`.`field`) WHERE `field` IN ( 'USERNAME_TOOLTIP_TEXT', - 'PASSWORD_TOOLTIP_TEXT', - 'USERNAME_TOOLTIP_ACTIVATED', - 'PASSWORD_TOOLTIP_ACTIVATED' + 'PASSWORD_TOOLTIP_TEXT' )"; DBManager::get()->exec($query); } diff --git a/db/migrations/5.5.18_add_login_faq_config.php b/db/migrations/5.5.18_add_login_faq_config.php index 3196e34..fd2a658 100644 --- a/db/migrations/5.5.18_add_login_faq_config.php +++ b/db/migrations/5.5.18_add_login_faq_config.php @@ -44,9 +44,7 @@ class AddLoginFaqConfig extends Migration AND `object_id` = MD5(`config`.`field`) WHERE `field` IN ( 'LOGIN_FAQ_TITLE', - 'LOGIN_FAQ_VISIBILITY', - 'USERNAME_TOOLTIP_ACTIVATED', - 'PASSWORD_TOOLTIP_ACTIVATED' + 'LOGIN_FAQ_VISIBILITY' )"; DBManager::get()->exec($query); } |
