keystonejs/keystone-classic

Admin email field is overwritten by Safari autocomplete

Open

#3,186 创建于 2016年7月21日

在 GitHub 查看
 (9 评论) (0 反应) (0 负责人)JavaScript (2,288 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (14,656 star)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南