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

2FA Page Styling is Inconsistent with Plugin #6

Closed
2 tasks done
aljawaid opened this issue Jan 30, 2023 · 11 comments
Closed
2 tasks done

2FA Page Styling is Inconsistent with Plugin #6

aljawaid opened this issue Jan 30, 2023 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@aljawaid
Copy link
Owner

aljawaid commented Jan 30, 2023

Issue:

The 2fa page is not branded in the same way as the login page

Forum Post
https://kanboard.discourse.group/t/new-plugin-applicationbranding/2592/2?u=aljawaid

  • Add URL Rewrite
  • Revamp 2FA Code Check page
@aljawaid aljawaid added the bug Something isn't working label Jan 30, 2023
@aljawaid aljawaid self-assigned this Jan 30, 2023
@axb21
Copy link

axb21 commented Jan 30, 2023

Hi @aljawaid , here's a screenshot depicting what I mean by that:
2023-01-30 11 15 28 www bucci onl 12a8f8e85790

There are no icons or anything on that page--I cropped it but there's not much more to it than what's in the crop.

@aljawaid
Copy link
Owner Author

There are no icons or anything on that page--I cropped it but there's not much more to it than what's in the crop.

@axb21 Does it show a completely new page for the 2FA or is it part of the login form? Just like the captcha becomes part of the login form. I'm just trying to understand whether I should make it like the password reset page, so it is consistent, or whether i need to fit it into the login form.

@axb21
Copy link

axb21 commented Jan 30, 2023

@axb21 Does it show a completely new page for the 2FA or is it part of the login form? Just like the captcha becomes part of the login form. I'm just trying to understand whether I should make it like the password reset page, so it is consistent, or whether i need to fit it into the login form.

It's a brand new page. The query string is controller=TwoFactorController&action=code

aljawaid added a commit that referenced this issue Jan 31, 2023
@aljawaid
Copy link
Owner Author

Hi @aljawaid , here's a screenshot depicting what I mean by that: 2023-01-30 11 15 28 www bucci onl 12a8f8e85790

There are no icons or anything on that page--I cropped it but there's not much more to it than what's in the crop.

image
I see what you mean.... I am horrified that this is deemed as an acceptable core template.

aljawaid added a commit that referenced this issue Jan 31, 2023
@axb21
Copy link

axb21 commented Jan 31, 2023

I see what you mean.... I am horrified that this is deemed as an acceptable core template.

I'm no frontend developer or designer, but yeah, this is clunky as heck. It seems to me that it could be part of the login screen the way captchas are, as you suggested before, and that'd be much more immediate and intuitive.

@aljawaid
Copy link
Owner Author

I don't think I will be able to make it part of the login screen because of the way it is coded. IF I break the function, I won't know how to fix it so better I dont touch it. I plan to redesign the whole security check page to be the same as the login and password reset page styling so there is consistency within the plugin for those who use it. Ive already done the url rewrite, but the redesign I will start on tonight.

aljawaid added a commit that referenced this issue Jan 31, 2023
aljawaid added a commit that referenced this issue Jan 31, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
@aljawaid
Copy link
Owner Author

aljawaid commented Feb 1, 2023

@axb21 how does this look?
image

@axb21
Copy link

axb21 commented Feb 1, 2023

Heck yeah, that looks so much better. That's what I'd expect to see when it came time to enter the 2fa code.

@aljawaid
Copy link
Owner Author

aljawaid commented Feb 1, 2023

Heck yeah, that looks so much better. That's what I'd expect to see when it came time to enter the 2fa code.

the text and design is loosely based on the github style but i think it fits in nicely with the rest of the plugin. I will push the changes tonight and release a new version soon

@aljawaid
Copy link
Owner Author

aljawaid commented Feb 1, 2023

what i found very annoying is that there was no way to cancel login. if you dont enter the code, open the browser a few hours later, you dont even get back to the login screen... just the code check... i fixed it with a logout button

@axb21
Copy link

axb21 commented Feb 1, 2023

Oh wow that's so weird. I never went through that flow--always ended up logging in.

It sounds to me like that whole process needed some love. I'm glad you're looking into it.

aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 1, 2023
aljawaid added a commit that referenced this issue Feb 2, 2023
aljawaid added a commit that referenced this issue Feb 2, 2023
aljawaid added a commit that referenced this issue Feb 2, 2023
aljawaid added a commit that referenced this issue Feb 2, 2023
aljawaid added a commit that referenced this issue Feb 2, 2023
aljawaid added a commit that referenced this issue Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants