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

Duo google auth fix #1471

Merged

Conversation

qubez
Copy link
Contributor

@qubez qubez commented Sep 5, 2016

id="2factors_authorization" is illegal (id selectors in HTML cannot start with a number, may break things). I changed this setting value globally to google_authorization (except in language files); this will also make the purpose clearer.
-install and upgrade scripts updated to convert existing 2factors settings (nothing breaks if upgrade script is not run; google just defaults to off)

2fa settings pages fixes:
Google auth name now has a save button, so it saves when expected
Google settings hidden when disabled

Re-organized the 2fa settings page to look like the rest of TeamPass, w stylesheet and nice XHTML.
(New English will make it even better)

Was:
2fa-before

Now:
2fa-after

   

Development-API settings fixes
Problem: Upgrade script creates duplicates ldap_object_class entries
when run, due to a bad query.

Solution: This fixes the behavior, and also does a cleanup to remove any
extra ldap_object_class=0 entries the script may have previously
inserted.

Duplicates can be prevented if teampass set the label to be a primary
key:
ALTER TABLE misc ADD PRIMARY KEY (intitule)
@nilsteampassnet
Copy link
Owner

:shipit:

@nilsteampassnet
Copy link
Owner

Thanks for this. I will merge as soon as my internet connection is back.
Really difficult period for me currently with my internet line that is not good enough.

@nilsteampassnet nilsteampassnet merged commit 081d704 into nilsteampassnet:development Sep 6, 2016
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

2 participants