contao / manager-bundle

[READ-ONLY] Contao Manager Bundle
GNU Lesser General Public License v3.0
17 stars 10 forks source link

Passwort setzen für app_dev besser beschreiben #40

Closed BugBuster1701 closed 6 years ago

BugBuster1701 commented 7 years ago
/* Use the "contao:install-web-dir" console command to set a password for the dev entry point. */

Damit können die wenigsten (neuen) Nutzer was anfangen. Ich selber musste per "help" auch erst schauen wie das gehen soll. Wer Symfony 3.3 noch nicht kennt, wird hier nicht schlau daraus.

So könnte das schon verständlicher sein, contao:install-web-dir --user=USER --password[=PASSWORD] sofern jeder weiß wie die contao-console aufzurufen ist.

Beachte dabei aber auch https://github.com/contao/manager-bundle/issues/39

aschempp commented 7 years ago

Wo hast du diese Meldung erhalten?

fritzmg commented 7 years ago

@aschempp https://github.com/contao/manager-bundle/blob/4.4.1/src/Resources/web/app_dev.php#L23

aschempp commented 7 years ago

Ah! Ich denke dazu sollte man besser was in's Handbuch schreiben, oder?

fritzmg commented 7 years ago

Naja ich würd entweder den Kommentar auf

/***********************************************************************************************/
/*                               ###  READ FIRST  ###                                          */
/* Access to debug front controllers must only be allowed on localhost or with authentication. */
/* Use the "contao:install-web-dir --user=USER --password[=PASSWORD]" console command to set a */
/* password for the dev entry point.                                                           */
/***********************************************************************************************/

ändern oder das Command umprogrammieren, sodass immer nach Benutzer Name und Passwort gefragt wird - außer es wurde --no-dev benutzt.

BugBuster1701 commented 7 years ago

Die Nutzer bekommen ja beim Versuch es hier angezeigt, sie sollen in diese Datei schauen, also tun die das auch.

BugBuster1701 commented 7 years ago

Daher Kommentar erweitern und im Handbuch kanns es auch nicht schaden.

aschempp commented 6 years ago

Fixed in f081310