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

Login is not working properly #84

Open
togglecode opened this issue Mar 17, 2017 · 3 comments
Open

Login is not working properly #84

togglecode opened this issue Mar 17, 2017 · 3 comments

Comments

@togglecode
Copy link

If you look at the comments in NextCloudClient.cs file, it is written

Only using a HEAD request doesn't seem to work, because in subsequent calls (with wrong user/password), the server always returns HTTP 200 (OK).

But this problem still exists, try the following:

  1. Login with your Username password
  2. reset the app
  3. login again but this time write a wrong password instead
  4. the app lets you log in
@DecaTec
Copy link
Collaborator

DecaTec commented Mar 17, 2017

I think this was fixed with #50
Can you provide any more details?

What I've tried:

  • log in with correct user/pass
  • reset the app
  • log in with wrong user/pass
    --> seems to work, I receive an error message.

@togglecode
Copy link
Author

@DecaTec Well for me it does not. Maybe we have different servers? I am trying this scenario on demo.nextcloud server.

first I login with user "admin" and password "admin"

abc

Status comes back ok.

Then I reset the app, login again with user "admin" and some random password.
ac

status comes back ok again. You can try it yourself with my account.

server address: https://demo.nextcloud.com/testcloud
username: admin
passowrd: admin

@DecaTec
Copy link
Collaborator

DecaTec commented Mar 20, 2017

I've tried exact the same thing with https://demo.nextcloud.com/testcloud.
After resetting the app and logging in with 'admin' and wrong pass, I'll get an HTTP 401 error.
I've build from latest source.

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

2 participants