Skip to content
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

Fixes 1019, install page SMTP user is required to to be an email address. #1020

Merged
merged 1 commit into from
Feb 24, 2017

Conversation

puffybsd
Copy link
Contributor

@puffybsd puffybsd commented Feb 23, 2017

Fixes #1019, install page SMTP user is required to to be an email address.

Updates the install page to have an english label of "Sender User" instead of "Sender Email",
removes email validation on the Sender User field, updates the install form, model and route.

Signed-off-by: P.B. puffybsd@yahoo.com

to be an email address.

Signed-off-by: P.B. <puffybsd@yahoo.com>
@lunny lunny added this to the 1.1.0 milestone Feb 23, 2017
@lunny lunny added the type/bug label Feb 23, 2017
@strk
Copy link
Member

strk commented Feb 23, 2017

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 23, 2017
@@ -124,7 +124,7 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) {
ctx.Data["CurDbOption"] = form.DbType

if ctx.HasError() {
if ctx.HasValue("Err_SMTPEmail") {
if ctx.HasValue("Err_SMTPUser") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a like-for-like change. The previous string, Err_SMTPEmail is not set in ctx.Data. Think this could be a previous bug?

@lunny
Copy link
Member

lunny commented Feb 24, 2017

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 24, 2017
@lunny lunny merged commit 8de8e11 into go-gitea:master Feb 24, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install page expects an email for "Sender Email".
5 participants