keystonejs/keystone-classic

Admin email field is overwritten by Safari autocomplete

Open

#3.186 aberto em 21 de jul. de 2016

Ver no GitHub
 (9 comments) (0 reactions) (0 assignees)JavaScript (2.288 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (14.656 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Whenever I edit a user object in the admin panel on mobile (iOS), when the users page loads up the email field is autocompleted by Safari with email address. This is because of Safari's password autocomplete feature.

I can't make a change to the users record because on save it would attempt to insert my email address and there's no way to undo the email change in Safari.

This can be fixed simply by removing my stored login credentials for my site, however that's not an ideal solution.

What I propose is to use the method described here http://stackoverflow.com/questions/22661977/disabling-safari-autofill-on-usernames-and-passwords of placing a password and email field off screen, so browsers will auto fill them first and leave the genuine fields alone.

Guia do colaborador