cutelyst / pastelyst

A Web Paste Tool built with Cutelyst and KDE Frameworks
https://paste.cutelyst.org
GNU General Public License v2.0
19 stars 1 forks source link

make password field disabled default to prevent misleading of autofill #4

Closed maidis closed 5 years ago

maidis commented 5 years ago

submit privately checkbox not active in default behavior but sometimes password field fill by autofill and this misleads the user although the user thinks that paste is public, the paste is actualy private

const bool priv = params.value(QStringLiteral("private")) == QLatin1String("on") || !password.isEmpty();

these changes can help guide the user better: