diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2019-01-07 18:44:03 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2019-01-07 18:44:03 +0100 |
commit | eabdbd545ed474ebcf63c3e839f2e50e40ddb379 (patch) | |
tree | 196694c2ca3482ac0381a0bd0e9462fe9168e9a3 /access_control.rb | |
parent | 571d02b554a615397adc7f66b1a2e1fd8202c58d (diff) |
remove useless space
Diffstat (limited to '')
-rwxr-xr-x | access_control.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/access_control.rb b/access_control.rb index 62a6c38..6063324 100755 --- a/access_control.rb +++ b/access_control.rb @@ -29,7 +29,7 @@ $d = Dudle.new acusers = {} -File.open(".htdigest","r").each_line{|l| +File.open(".htdigest","r").each_line{|l| user,realm = l.scan(/^(.*):(.*):.*$/).flatten acusers[user] = realm } @@ -142,7 +142,7 @@ if $cgi.include?("ac_user") else if $cgi.include?("ac_create") add_to_htdigest(user,$cgi["ac_password0"]) - acusers[user] = true + acusers[user] = true write_htaccess(acusers) end @@ -220,7 +220,7 @@ $d.html << <<AC <tr> <td></td> <td> - #{acswitchbutton} + #{acswitchbutton} </td> </tr> </table> |