-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Move log out and backup codes link into 2fa box for better readability #2618
Conversation
@ChristophWurst, thanks for your PR! By analyzing the history of the files in this pull request, we identified @jancborchardt, @MorrisJobke and @icewind1991 to be potential reviewers. |
Could we use buttons for the "cancel login" and "use backup code" ? :) Otherwise: 👍 |
Also, the »Authenticate with a TOTP app« doesn’t look clickable really. We should use a button there, which should be as big as the input field (or button on the log in page). Then smaller side-by-side buttons for the options below. |
https://github.com/nextcloud/server/blob/master/core/templates/twofactorselectchallenge.php have fun :-)
That's what we had before but depending on the language the text can be too long for one line. For example the German translation caused it to break, which looked odd. I'd prefer to have one below the other because that's easier to read IMO. |
@jancborchardt could you please help me with the styling here? I don't know what it should look like :-) |
Can we get this in and fix additional styling later or close this? |
@rullzer please wait for my login-update-install css fix. |
Okay, see #3004 |
#3004 is merged, so we can go ahead here? :) @ChristophWurst just using class="button primary" for the primary button (»Auth with TOTP app«) and class="button" for the other two ones (»Cancel log in« and »Use backup code«) should work nicely. :) |
90c561e
to
321a026
Compare
blocked by #3207 |
Codecov Report@@ Coverage Diff @@
## master #2618 +/- ##
============================================
- Coverage 53.99% 53.98% -0.01%
Complexity 21007 21007
============================================
Files 1303 1303
Lines 80377 80383 +6
Branches 1253 1253
============================================
+ Hits 43396 43397 +1
- Misses 36981 36986 +5
Continue to review full report at Codecov.
|
Merged -> unblocked 😝 |
@ChristophWurst Any news here? I would love to see this merged ;) |
While you're at it, could you set the default mobile keyboard to number only @ChristophWurst :) |
Fixes #2538 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
321a026
to
b15c11b
Compare
@jancborchardt I've changed the links to buttons. Doesn't look good IMO. Could you please help me with the styling? Thanks |
@jancborchardt please have a look here. Else I'll just merge it and you have to fix master 😉 |
@rullzer so… merge? 😉 |
Fixes #2538
Without backup codes
With backup codes