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

Insufficient password popup does not work on Safari #1592

Closed
cragun47 opened this issue Jul 25, 2017 · 1 comment
Closed

Insufficient password popup does not work on Safari #1592

cragun47 opened this issue Jul 25, 2017 · 1 comment

Comments

@cragun47
Copy link

Brief description
When entering an insufficient password, the pop-up error message does not display when using the Safari browser. Thus, on a new installation of grav-admin (grav with admin plug-in) the first step of creating an admin user through the admin panel seems to the user to fail. The user does not know the password is insufficient, keeps trying to successfully create a user, but the user is never created.

Environment:
Host: x10 hosting. Apache-based shared service.
Host Apache: 2.4.18
Host PHP: 5.5.36
Host architecture: linux on x86

Client Computer
OSX: Sierra 10.12.3
Safari: Version 10.0.3

Steps:

  1. Upload grav-admin-v1.3.0.zip file; unzip on server.
    In this case the directory is not the root directory of the site, but rather a sub directory of the site.

  2. In Safari browser, point at to the base directory of grav installation.
    Directory: www.mysite.com/Documents/grav2/grav-admin

  3. When accessing the base directory of grav for the first time, user correctly is routed to the admin screen to create the first user. www.mysite.com/Documents/grav2/grav-admin/admin

  4. The admin dialog appears

  5. Type in an insufficient password and tab to the next field, No error message is displayed (Image below).

screen shot 2017-07-24 at 10 52 59 pm

An error message should appear if the password is not acceptable the minute that field loses focus.

  1. Type is the same insufficient password in the second password field. A message is not displayed on leaving the second field. (Image below)

screen shot 2017-07-24 at 10 53 31 pm

  1. Fill in the rest of the information and Press Create User. There is a little bit of a flash (like the page gets reloaded) and the save password prompt appears at the top of the browser (image 3). The form is totally refreshed and the user must fill in the form again. A .yaml file has not been created.

screen shot 2017-07-24 at 10 53 48 pm

See also background discussion in discourse forums

@rhukster
Copy link
Member

Pretty sure this is fixed in latest develop branch of Grav Admin - getgrav/grav-plugin-admin@05a6abd

BTW, this was brought up in admin plugin issues - getgrav/grav-plugin-admin#1129

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