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

Initial setup, unable to register user, password input missing? #1239

Open
labeled opened this issue Mar 15, 2016 · 2 comments
Open

Initial setup, unable to register user, password input missing? #1239

labeled opened this issue Mar 15, 2016 · 2 comments

Comments

@labeled
Copy link

labeled commented Mar 15, 2016

Thanks for this great piece of software. I wanted to test it in my own environment to see how it well it functioned. There are a couple small differences between your walk-through setup and my environment.

First, SQL server is not on the same machine as IIS. So I have an AD User account for App Pool.
Second, I named the DB Chat. You said that didn't matter, but I wanted to share any differences.
Third, I installed JabbR on an application under a site in IIS. So instead of http://mysite.com it's http://mysite.com/chat. This forced me to make a minor change to the web.config commenting out the providers (already exist in parent web.config).
Everything else from what I can tell is identical.

The problem I'm facing is that I do not see the input boxes for password or confirm password when clicking the 'register' element from the initial startup page. I do however see them when running the solution on LocalHost. If I put in my Username and Email and click submit it appears that nothing happens, no entries in the tables, no redirect to logged in page.

Without going through all of your code, could you try and point me in the right direction?

@labeled
Copy link
Author

labeled commented Mar 15, 2016

I looked at the AccountModule briefly and saw why I'm not seeing it.

`
bool requirePassword = !Principal.Identity.IsAuthenticated;

            if (requirePassword &&
                !applicationSettings.AllowUserRegistration)
            {
                return HttpStatusCode.NotFound;
            }`

requirePassword is false because my AD account is Authenticated. Also the applicationSettings.AllowUserRegistration is empty.

@labeled
Copy link
Author

labeled commented Mar 15, 2016

I had to change bool requirePassword = !Principal.Identity.IsAuthenticated; to bool requirePassword = Principal.Identity.IsAuthenticated; To have it work. Not sure if this will negatively effect me or not.

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

No branches or pull requests

1 participant