-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix install.tmpl input default value #611
Conversation
vcaesar
commented
Jan 8, 2017
- Fix install.tmpl input default value(index.js 212-215)
@@ -209,6 +209,10 @@ function initInstall() { | |||
return; | |||
} | |||
|
|||
$('#db_host').val("127.0.0.1:3306"); | |||
$('#db_user').val("root"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe gitea as default user is a better choice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of the default user for the database is root,I think root is a better choice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's only true for MySQL/MariaDB not for PostgreSQL & MSSQL. Besides that I don't think that we should encourage users to use a root account "just because it's there".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see,"just because it's there" is not good and PostgreSQL & MSSQL is other,I updated.
I think there was already a pr that resolves that |
@tboerger Because of format index.js,I resubmit. |
LGTM |
Default value has been added via #455 |
@lunny This is not the same problem. |
LGTM |