keystonejs/keystone-classic

Admin email field is overwritten by Safari autocomplete

Open

#3,186 opened on 2016年7月21日

GitHub で見る
 (9 comments) (0 reactions) (0 assignees)JavaScript (2,288 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (14,656 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド