aboutsummaryrefslogtreecommitdiff
path: root/access_control.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2019-01-07 18:44:03 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2019-01-07 18:44:03 +0100
commiteabdbd545ed474ebcf63c3e839f2e50e40ddb379 (patch)
tree196694c2ca3482ac0381a0bd0e9462fe9168e9a3 /access_control.rb
parent571d02b554a615397adc7f66b1a2e1fd8202c58d (diff)
remove useless space
Diffstat (limited to 'access_control.rb')
-rwxr-xr-xaccess_control.rb6
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>