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

Do not delete invalid AppToken #11043

Closed
3 tasks done
rullzer opened this issue Sep 4, 2018 · 1 comment
Closed
3 tasks done

Do not delete invalid AppToken #11043

rullzer opened this issue Sep 4, 2018 · 1 comment

Comments

@rullzer
Copy link
Member

rullzer commented Sep 4, 2018

When an apptoken is still valid in the DB but the password validation fails we should mark it as such. That way we can on next (successful) login update all the tokens that are marked as invalid.

For https://github.com/orgs/nextcloud/projects/22

This should make changing the password in LDAP possible for example.

TODO:

  • Add field to mark apppassword as outdated to DB
  • If the password fails to verify mark the apptoken as outdated (do not delete it)
  • On successfull login update outdated tokens
@rullzer rullzer self-assigned this Sep 4, 2018
@rullzer rullzer added enhancement 1. to develop Accepted and waiting to be taken care of labels Sep 4, 2018
@rullzer rullzer added this to the Nextcloud 15 milestone Sep 4, 2018
@nextcloud-bot

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants