summaryrefslogtreecommitdiffstats
path: root/lib/authenticator-plaintext.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2016-08-04 15:55:56 +0000
committerTed Trask <ttrask01@yahoo.com>2016-08-04 15:55:56 +0000
commita0c9b5cb07e4b691874e858527e36cb8c83c56d0 (patch)
treef198cd9f9ced2e66998aa1db6cbe1c265f03862b /lib/authenticator-plaintext.lua
parentdf0d2e0e18549e8fe348d08769c929340d75131e (diff)
downloadacf-core-a0c9b5cb07e4b691874e858527e36cb8c83c56d0.tar.bz2
acf-core-a0c9b5cb07e4b691874e858527e36cb8c83c56d0.tar.xz
Remove trailing whitespace
Diffstat (limited to 'lib/authenticator-plaintext.lua')
-rw-r--r--lib/authenticator-plaintext.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/authenticator-plaintext.lua b/lib/authenticator-plaintext.lua
index c1db54a..8cbf7a8 100644
--- a/lib/authenticator-plaintext.lua
+++ b/lib/authenticator-plaintext.lua
@@ -50,7 +50,7 @@ mymodule.read_field = function(self, tabl, field)
end
end
return row
- else
+ else
return nil
end
end
@@ -106,7 +106,7 @@ mymodule.delete_entry = function (self, tabl, field, id)
return false
end
local result = false
-
+
local passwd_path = self.conf.confdir .. field .. tabl
local passwdfilecontent = fs.read_file_as_array(passwd_path) or {}
local output = {}
@@ -117,7 +117,7 @@ mymodule.delete_entry = function (self, tabl, field, id)
result = true
end
end
-
+
--Save the updated table
if result == true then
fs.write_file(passwd_path, table.concat(output,"\n"))