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

User registration email not validated #720 #1068

Closed

Conversation

SatyaSandeep51
Copy link

User after registering with an Email gets the verification link to his Mailbox. By clicking on the verification link he/she will be redirected to the verifying page and from there user can go to login after the successful verification. Used a sample email and app specific password to generate emails to the registered user.
Email Id : sampleemail304@gmail.com
Password : Welcome@123
App Specific Password : mecv erfk mosu fvji

Modified Files :
-- src/Modules/SimplCommerce.Module.Core/Areas/Core/Controllers/AccountController.cs
-- src/Modules/SimplCommerce.Module.EmailSenderSmtp/EmailSender.cs

@hishamco
Copy link
Member

Please resolve the conflicts

@@ -14,8 +14,8 @@ public class EmailSender : IEmailSender
public EmailSender(IConfiguration config)
{
_emailConfig.SmtpServer = config.GetValue<string>("SmtpServer");
_emailConfig.SmtpUsername = config.GetValue<string>("SmtpUsername");
_emailConfig.SmtpPassword = config.GetValue<string>("SmtpPassword");
_emailConfig.SmtpUsername = "sampleemail304@gmail.com";
Copy link
Contributor

Choose a reason for hiding this comment

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

It is not recommended to use a fixed email.
The email must be configurable.

Copy link
Contributor

@afernandes afernandes left a comment

Choose a reason for hiding this comment

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

Review changed settings

@@ -1,6 +1,6 @@
{
"ConnectionStrings": {
"DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"
"DefaultConnection": "server=DotNetFSD\\SQLEXPRESS;database = SimplCommerce;user id = sa; password = pass@123;trustservercertificate = true;MultipleActiveResultSets=true"
Copy link
Contributor

Choose a reason for hiding this comment

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

???

@hishamco
Copy link
Member

Closed while there's no respond from the author

Feel free to reopen the PR again

@hishamco hishamco closed this Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants