Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
proxy password patch for mikutter
--- core/addon/proxy/proxy.rb 2011-10-04 02:08:16.323056752 +0900
+++ core/addon/proxy/proxy.rb.new 2011-10-04 02:07:12.196160474 +0900
@@ -1,4 +1,4 @@
-# -*- coding: utf-8
+# -*- coding: utf-8 -8
miquire :addon, 'addon'
miquire :core, 'environment'
@@ -92,7 +92,7 @@
sv = Mtk.input(:proxy_server, "サーバ")
pt = Mtk.input(:proxy_port, "ポート")
us = Mtk.input(:proxy_user, "ユーザ")
- pw = Mtk.input(:proxy_password, "パスワード")
+ pw = Mtk.input(:proxy_password, "パスワード", false)
ct = Mtk.boolean(:proxy_cert, "ユーザ認証が必要")
auth_group = Mtk::group(ct, us, pw)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment